Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mitali 13 posts 33 karma points
    Dec 28, 2010 @ 11:15
    Mitali
    0

    Asp.net control

    How can i add asp.net control on template.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 28, 2010 @ 11:27
    Dirk De Grave
    2

    Mitali,

    Just as you would on a asp.net page... templates in umbraco are asp.net masterpages, so whatever is possible in asp.net, can be done via the template in the admin ui.

    For example, if you'd like to include a login control on a template just add

    <asp:Login ID="Login1" runat="server" />

    If you're including asp.net controls, make sure to add a <form runat="server"></form> to your templates as well...

    Hope this helps.

    Regards,

    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft