开发者

update control inside update panel in client side

ho开发者_JAVA百科w to update a control inside update panel without reloading(postpack) the update panel please give an example code with C# if you could. so the update should happen in client side.

Thank you,


Really, the whole purpose of an UpdatePanel and AJAX in general is a partial post back of the page. If you want to work with something client-side, Javascript is usually the best thing.


If the control is inside an update panel, all you need to do is do all of your postbacks inside that update panel. So if you have a button event or any server side event that is executed inside the update panel, any control within the update panel will update without a postback


Update panels are tricky and does many things that you cant handle. I recommend an javascript framework with ajax postbacks


You can see the answer of the following question How to configure UpdatePanel so that it should render empty first time and later after page render refreshes and get data asynchronously , this refreshes update panel from javascript

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜