How to Update a div tag in Master Page using a button click in Content page? or Wise versa
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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