Last post Jun 12, 2011 05:07 PM by Scorgi
Jun 12, 2011 05:56 AM|Scorgi|LINK
I have added a modalpopupextender with 3 info labels and a ok button and a cancel button.
If I press cancel the modalpopup box dissapears - fine!
When I press ok I do something write data to database etc. After closing the connection I would like to close the modal box also, but it doesn't happen.
I have tried :
UpdatePanel1_ModalPopupExtender.Hide() this also works but my grid is not updated due to the following.
When I try debugging I receive the following error. The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: C:\Users\Stephen\Downloads\ajaxcontroltoolkit-a497357d78ce\AjaxControlToolkit_a497357d78ce\Server\AjaxControlToolkit\ModalPopup\ModalPopupExtender.cs.
Any idea how I can get this to work?
Jun 12, 2011 07:10 AM|travishow|LINK
Jun 12, 2011 09:09 AM|Scorgi|LINK
Forget this issue. I deleted the modalpopup and instead used visible true or false.
Jun 12, 2011 09:26 AM|travishow|LINK
Ok. But this is usualy a fairly common problem. and the solution is almost always having the close button in your update panel. If you place the close control outside the updatepanel. the close button should work.
Jun 12, 2011 05:07 PM|Scorgi|LINK
Thanks I will try that