Search Results

Search found 1 results on 1 pages for 'uince81'.

Page 1/1 | 1 

  • In an ASP control how can I get the text in a <Contentemplate> tag in the control code?

    - by uince81
    Hi, In my page ASP.net page I'm using a custom control like this: <MyNamespace:MyControl runat="server" ID="myControl"> <contenttemplate> This is the text I want to use </contenttemplate> </MyNamespace:MyControl> In the c# code of the control how can I obtain a string containing the text between the <contentemplate> tag (eg. "This is the text I want to use") ? Can you give me the code? Thank you!

    Read the article

1