Wednesday, May 25, 2011

Get Child Control on page (Usercontrol textbox in default page)


TextBox txtdrop1 = (TextBox)Multiselectdropdown3.FindControl("tbm");
// Multiselectdropdown3 is the ID of UserControl
// tbm is ID of the textbox available in UserControl.

No comments:

Post a Comment