开发者

Why are certain controls losing viewstate after UpdatePanel postback?

开发者 https://www.devze.com 2023-03-11 18:23 出处:网络
I\'ve got several controls on a page .... then I\'ve got an asp:updatepanel .... then I\'ve got more controls after the updatepanel.

I've got several controls on a page .... then I've got an asp:updatepanel .... then I've got more controls after the updatepanel.

I call the update开发者_如何学GoPanel's Load event from javascript like this:

__doPostBack('<%=myUpdatePanel.ClientID%>','');

In the updatepanel's Load event, I can access all the controls above the updatepanel. However the controls below the updatepanel have lost their values.

What's the deal, Mr. UpdatePanel Man?

0

精彩评论

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