• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

Using XSLT to write ASP.NET control

How do I write ASP.NET controls using XSLT?

I have a simple need for with my XSLT
<asp:button xmlns:asp="aaa" onclick="AddToCart()" runat="server" Text="Button" />

But is not displaying anything when I load the page.
0
lawso
Asked:
lawso
1 Solution
 
DhaestCommented:
Use XSLT to Create an ASP.NET Page with ASP.NET Server Controls
http://www.devx.com/tips/Tip/27128

Generate dynamic ASP.NET pages by using XML and XSLT
http://www.codeproject.com/aspnet/xmlxsltransformer.asp

XSLT and ASP.NET
http://www.topxml.com/dotnet/articles/xslt/default.asp
0
 
lawsoAuthor Commented:
Dhaest,
Thanks for the prompt response.
The first one looks close but it doesn't seem to work.

I added a Namespace to the Stylesheet and then added my ASP:BUTTON but it is not displaying anything
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now