开发者

How to Update a div tag in Master Page using a button click in Content page? or Wise versa

How to Update a 开发者_如何学编程div tag in Master Page using a button click in Content page? or Wise versa


Do you get the data to be updated in a postback only? You can either do it using javascript if you get the data to be updated in the client side, or bring it to the client side on a postback and use some javascript method to update. If you get the data as some attribute of a server side class, ou can use server tags (as in classic ASP) in the master page like <div id="updatableDiv"><%=myClass.PropertWithUpdatedValue%></div> in the master page.

Update: refer How to change master page value from child page

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜