locked
Tags inside user control RRS feed

  • Question

  • User172054312 posted

    Hi,

    I'm writing my first user control with asp.net. I want to define some properties in my user control that can be controlled with tags in markup. Something like this:

    <uc1:MyControl Id="MyControl1" runat="server">
         <Property1>
              This is property's value.
              <asp:Button ID="btnRedirect" runat="server" PostBackUrl="http://www.asp.net" Text="Click here to go to official asp.net website" />
         <Property1>
    </uc1:MyControl>

    Sorry if my question is a little awkward.
    Shakib 

    Tuesday, December 22, 2009 2:38 PM

Answers

All replies