Prev: Call Function from aspx
Next: url rewrites
From: Mark Rae [MVP] on 20 Apr 2010 04:25 "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message news:0B015CCF-B1C3-49EB-BF96-02D640A34F69(a)microsoft.com... > still isn't working. When I go to run it, the modal is there, but is as > blank as the look on my face. Presumably, the Panel that you've specified to be the PopupControlID does actually contain an UpdatePanel which itself contains controls? E.g. in this example: http://msdn.microsoft.com/en-us/magazine/cc164247.aspx that would be pnlEditCustomer... Also, I'm assuming that you haven't disabled JavaScript...? > For now I have gone back to the window.open (not the showModalDialog). It > opens a window with the information and it moves to edit, insert, etc just > like the users want it to. Unforturnately, it is not modal (unless you > have > a way of making it so). There's no way that I know of to make an ordinary window modal... -- Mark Rae ASP.NET MVP http://www.markrae.net
From: JohnE on 20 Apr 2010 11:06 "Mark Rae [MVP]" wrote: > "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message > news:0B015CCF-B1C3-49EB-BF96-02D640A34F69(a)microsoft.com... > > > still isn't working. When I go to run it, the modal is there, but is as > > blank as the look on my face. > > Presumably, the Panel that you've specified to be the PopupControlID does > actually contain an UpdatePanel which itself contains controls? E.g. in this > example: http://msdn.microsoft.com/en-us/magazine/cc164247.aspx that would > be pnlEditCustomer... > > Also, I'm assuming that you haven't disabled JavaScript...? > > > > For now I have gone back to the window.open (not the showModalDialog). It > > opens a window with the information and it moves to edit, insert, etc just > > like the users want it to. Unforturnately, it is not modal (unless you > > have > > a way of making it so). > > There's no way that I know of to make an ordinary window modal... > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > Javascript is on as it is used elsewhere. Not giving up on the modal way as that is the way to go. At least I have it working one way. But I already have visions of many unclosed windows. Going to put this aside for a couple day, let the head clear, and try it again. I still think I can get the modal to work.
From: Mark Rae [MVP] on 20 Apr 2010 11:45
"JohnE" <JohnE(a)discussions.microsoft.com> wrote in message news:CA44FF0C-A5B6-4B96-B930-01F3C966A060(a)microsoft.com... > I still think I can get the modal to work. I would suggest you create a scratch web application project with just one page, one button and a modal popup. Pick one of the hundreds of examples on the web just to reassure yourself that you can actually get this working. -- Mark Rae ASP.NET MVP http://www.markrae.net |