i have usercontrol.ascx in aspx page. , in user control have button click event, , need open user control button click. please give me suggestions on how achieve this.
thanks.
you can use visible property. let's call user control button uccontrol1 , other uccontrol2.
// code-behind of uccontrol1 protected void page_load(object sender, eventargs e) { if(!ispostback) uccontrol2.visible = false; } protected void btn_click(object sender, eventargs e) { uccontrol2.visible = true; }
Comments
Post a Comment