-
Making the most of out the AjaxControltoolkit’s ModalPopupExtender Part 9
Okay, so why not just stick inside the toolkit and use the DynamicControlID / DynamicServiceMethod. Why futz around with all this extra work when there's a perfectly fine built in functionality that will do just about everything I need it to. Well, first, it's not quite what I need, this is one of those cases where, if you just want a ModalPopup, not a ModalDialog things will be very good for you. Unfortunately there are some problems. Let's look at this over simple example
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" />
<div>
<asp:Button ID="ShowModal" runat="server" Text="Show" />
<cc1:ModalPopupExtender ID="ModalPopupExtender1"...
-
Making the most out of the AjaxControlToolkit’s ModalPopupExtender Part 7
In this post well look at the some Trace.axd and Fiddler/FireBug output to see what kind of work we are doing to generate the dynamic content inside of the modal update panel. Additionally the some modifications to the code listed here are listed below to integrate the WebMethod dynamic contend within the scope of a ModalPopupExtender.
Right of the bat, I have to admit that using the WebMethod version's Trace.axd output compared to the UpdatePanel's Trace output is entirely unfair. The issue is that the Control creation work handled by the AjaxControlRender is not listed in the output,...
-
Making the most out of the AjaxControlToolkit’s ModalPopupExtender Part 6
Pros and Cons.
When it's all said and done, no matter what you start out thinking you are in for, when it comes to the wonderful world of Ajax, things just wont work exactly how you expect them to. Unlike much of the world of web programming, there's the gorilla of compromise that makes it presence felt without fail.
From subtle CSS-purgatory nuances, to the predictable unpredictability of end users, be prepared for a fair amount of hand tuning if you want a truly robust dynamic web experience. This brings several new problems into play when developing a full fledged user...
-
Making the most out of the AjaxControlToolkit’s ModalPopupExtender Part 5
This Post is also very code heavy and detail light. Instead of spreading the code out for this step, I'm going to just put a large number of code listings at the bottom. In the last post we got a very basic dynamic modal working, that allowed us to push data back and forth between to controls hosted in a Modal dialog. For this next pass I want to leave the modal dialog out of this all together and break into some code using WebMethods.
First, it's a very legitimate thought that I should really be using creating an Extender...