code_junkie

How do you access the content of a ASP.NET control?

Nov 11th, 2011
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <uc1:TestControl ID="TestControl1" runat="server">
  2. <div>More random HTML, etc...</div>
  3. </uc1:TestControl>
  4.  
  5. [ParseChildren(false)]
  6. public partial class TestControl : System.Web.UI.UserControl
  7. {
  8. protected void Page_Load(object sender, EventArgs e)
  9. {
  10.  
  11. }
  12. }
Add Comment
Please, Sign In to add comment