开发者

How to unload a child user Control that is Loaded on parent control in asp.net

I Am working with user controls in Asp.net.

I am loading a user Control(Usercontro2) in a Control panel of a parent child control (Usercontro1).

Now I want to unload the control on the click of link button of Usercontro2

Ho开发者_如何学运维w can I do it in the Child user control.


You should do nothing in this case. Once the button is clicked, the postback is sent to the server. If you do not create the UserControl again in this request, it won't appear in the client after the page is posted back.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜