Prev: Call Function from aspx
Next: url rewrites
From: Mark Rae [MVP] on 18 Apr 2010 18:51 "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message news:4F349447-B757-4EEF-AFEA-08129159CD33(a)microsoft.com... > And if I vacate the showModalDialog (which I probably will be doing) what > suggestions do you have? Use the AJAX modal popup extender. -- Mark Rae ASP.NET MVP http://www.markrae.net
From: JohnE on 18 Apr 2010 19:46 "Mark Rae [MVP]" wrote: > "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message > news:4F349447-B757-4EEF-AFEA-08129159CD33(a)microsoft.com... > > > And if I vacate the showModalDialog (which I probably will be doing) what > > suggestions do you have? > > Use the AJAX modal popup extender. > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > Thanks for those 6 words of wisdom.
From: JohnE on 19 Apr 2010 04:36 "Mark Rae [MVP]" wrote: > "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message > news:4F349447-B757-4EEF-AFEA-08129159CD33(a)microsoft.com... > > > And if I vacate the showModalDialog (which I probably will be doing) what > > suggestions do you have? > > Use the AJAX modal popup extender. > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > Ok. I started moving to the modalpopupextender. Now, there is a linkbutton in the gridview that is to be used to open the modal. Here is what the linkbutton has in it; <asp:LinkButton ID="lbtnChangeRequestDetailView" runat="server" ForeColor="Black" Text='<%# DataBinder.Eval(Container.DataItem,"ChangeRequestID") %>' > </asp:LinkButton> This linkbutton is also the holder of the ID of the record so it needs to pass it to the modal. This linkbutton was what opened the showModalDialog. The formview is bound by sqldatasource. What (and how) should I use to open the modal from the linkbutton with? You have an example?
From: Mark Rae [MVP] on 19 Apr 2010 04:43 "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message news:925C0D74-276F-41DA-A0A3-B3462439593C(a)microsoft.com... > You have an example? http://msdn.microsoft.com/en-us/magazine/cc164247.aspx -- Mark Rae ASP.NET MVP http://www.markrae.net
From: JohnE on 19 Apr 2010 23:38
"Mark Rae [MVP]" wrote: > "JohnE" <JohnE(a)discussions.microsoft.com> wrote in message > news:925C0D74-276F-41DA-A0A3-B3462439593C(a)microsoft.com... > > > You have an example? > > http://msdn.microsoft.com/en-us/magazine/cc164247.aspx > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > I have been working on this most of the day reverting back to using the modalpopupextender and I am not having any luck or success in getting this to work properly. Which I ran into before. Frustration is running ramped. I have googled and read what you linked (and other articles from there) and it still isn't working. When I go to run it, the modal is there, but is as blank as the look on my face. 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). We'll just need to live with that until I take another stab at the modal extender. Thanks...John |