Click here to Skip to main content
13,095,218 members (78,749 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i have a masterpage and i put contentplaceholder in updatepanel ,page work fine in local but when i upload it on server if page leaved for 5 minutes and then click on linkbutton or image botton to do something,page just refreshed and then it's work!
what's the problem?!
Posted 5-Sep-12 23:03pm
aspnet_regiis 6-Sep-12 5:08am
So what is the question? 6-Sep-12 5:23am
page refreshes ,thats the question
shahingmn 6-Sep-12 5:38am
when page loaded complete all controls work's fine but if page leaved for five minute it's not work and when i click on link button page just refreshed!
aspnet_regiis 6-Sep-12 8:28am
I think its a session timeout issue..
shahingmn 7-Sep-12 3:53am
i don't think so...
aspnet_regiis 7-Sep-12 4:51am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Puting Update panel in Master page is very bad idea . Since you need to write extra code to find the control and update it , once any post back or event happens to the page inside Master page

The best idea is to remove the update panel from master page and set it at page level with Updatemode=conditional , for uploading files and browse functionality you can add triggers , and u can update the panel once your event is fired and completed successfully

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100