Within the solution there are two webparts, second is being shown within a modal dialog in first webpart.
In second webpart everything is inside update panel(bad practice). When I open the second webpart first time and perform any postback(either by button click or dropdown index change)
Page.IsPostBack is true and ScriptManager.GetCurrent(Page).IsInAsyncPostBack is also true (Which is good because within page load I have added check for these two condition)
but when I keep the modal popup static for lets say 3 minutes and then perform any postback operation both the Page.IsPostBack and ScriptManager.GetCurrent(Page).IsInAsyncPostBack are false hence instead of firing the event handler for the control causing the postback the whole page within the modal refreshes.
Update panel is used like this
<asp:UpdatePanel ID="up1" runat="server"> <ContentTemplate> ....contents </ContentTemplate> </asp:UpdatePanel
Triggers are not used. tried these attribute as well
still the same behavior