Re: AJAX Modal Popup disappearance

Tech-Archive recommends: Speed Up your PC by fixing your registry




"Samuel Rhodes" <sam.rhodes@xxxxxx> wrote in message news:e2rVHezgHHA.4924@xxxxxxxxxxxxxxxxxxxxxxx
hi
i am using a ajax modal popup to allow the user to search an item and select the required item from the list.

whenever i try to search the item, which causes a post back....the modal popup disappears/becomes invisible...

in general, any postback fired from within the modal popup makes the modal popup disappear.

any clue...why...and how can i avoid it.

-sami


I think the "general" purpose of the control is to allow a modal popup and then dismiss it when the action or whatever the popup allows is complete. I use it for a logon to database and had the same problem if the connection was not made then I did not want the dialog to disappear. I am not close to my source code but there are Hide and Show methods for the modal dialog extender that can be used from the code behind to control the visiblitity of the modal popup. These methods are "new" so go to the MS page that hosts the AJAX Toolkit and ensure you have the latest version.

Lloyd Sheen

.



Relevant Pages

  • Re: modal popup window help
    ... I am using the AJAX modal popup extender now. ... My Panel1 contains another gridview, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: modal popup window help
    ... Use an AJAX modal popup extender instead:http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpo ... ... My Panel1 contains another gridview, ... Exactly the same way you would update it if it weren't inside an AJAX modal popup - all the popup does is unhide a floating div to display its contents. ...
    (microsoft.public.dotnet.framework.aspnet)
  • AJAX Modal Popup disappearance
    ... i am using a ajax modal popup to allow the user to search an item and select ... popup disappears/becomes invisible... ... any clue...why...and how can i avoid it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • using Ajax Modal popup
    ... I have a page with an Ajax modal popup. ... to modify. ... (I use Visual Studio 2005, ...
    (microsoft.public.dotnet.framework.aspnet)