Model PopUp Problem
-
Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced
-
Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced
You're using the ModalPopupExtender from the AjaxToolKit, right? If so, the problem is the occurring postback while paging. Although i remember that there was a better solution than mine, i unfortunately dont remember the solution itself..So heres mine: Either put the content of your popup in a seperate updatePanel (if that works for you), or call the Show method of your popupextender again in the paging event. This way it should stay open (at least i'm doing this somewhere in a click-event of a button and this way it stays open). Hope this helps somehow.
-
Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced
Hi! Make sure that you modalpopup is placed in an updatepanel which has not got chlidrenastrigger. You have to ensure that the control that causes the popup is not reloaded with the postback.
Andreas Johansson
IT Professional at Office IT Partner i Norrbotten Sweden
What we don't know. We learn.
What you don't know. We teach