Using XSLT to write ASP.NET control

Posted on 2007-07-20
Last Modified: 2012-05-05
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.
Question by:lawso
    LVL 53

    Accepted Solution

    Use XSLT to Create an ASP.NET Page with ASP.NET Server Controls

    Generate dynamic ASP.NET pages by using XML and XSLT

    XSLT and ASP.NET

    Author Comment

    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

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now