c# - Access Controls from UserControls in ASPX page -
how access controls usercontrols in aspx page? example: want access gridview in usercontrol on aspx page.
please me.
try :
gridview gridview1 = (gridview)webusercontrol1.findcontrol("gridview1");
where webusercontrol1 id of use control on .aspx page.
hope helps..
Comments
Post a Comment