Hi to all
I'm working on project where I created masterpage and put updatepanel in the masterpage all the related pages are missed the whole page contents after postback , when I remove the updatepanel from the masterpage , the content of pages not go.
Best Regards
AFZO
First, open the developer tools for the browser using F12. Check the console tab to see if there are any scripting errors. It could very well be that during postback there is an error being thrown that is essentially ruining loading.
To be honest, an UpdatePanel in a masterpage is not normally done. There are way too many issues that can occur, they are difficult to debug, and too often you need to tailor the triggers for the specific updatepanel based on the form, which you cannot really
do if it's in the masterpage. It may sounds like a time-saving idea, but it's not done in practice. Normally the only releated piece that is put into the masterpage would be the scriptmanager to ensure it's available to all pages that would use an updatepanel.
沒有留言:
張貼留言