Posts

Showing posts from March, 2010

Another day with AJAX ModalPopupExtender

I reckon that I'll have to face this one day, and here it comes. Recently I tried to find ways to make the ModalPopupExtender to be shown dynamically because I foreseen that my current project would require such feature soon, and it came very soon for my boss asking for it. After some finding, it isn't very hard to implement it, but it's not that straight forward either. I found an example on the net that would require the pop-up to be registered with the JavaScript on the client side, which isn't what I really wanted because I'd prefer code behind since everything has been written behind the code and there's a lot of database related stuff, which I don't really want to expose it on the client side. Plus, I'm not really familiar with registering code behind method with the JavaScript, so I opted not to go down that path. So how to do it? First, add in the ModalPopupExtender and the pop-up controls like how I did before. Then, this is the part where I

AJAX Control Toolkit - ModalPopupExt

I'm working on a new website that requires a lot of dynamic changes in its display. It is written using the .NET Framework 2.0 (yes, still 2.0, not anything beyond that) with the back end code written in C#. So far it has been a challenge because writing a page that requires a lot of dynamic changes/updates to its display really requires a fundamental understanding to how the ASP.NET page life-cycle works plus some understanding on the request posting as well. Until now it has been a great pleasure to accomplish so many difficult task. Today, it is no different from the usual mind cracking to think of a solution or more so to learn how to use something new. Although in the past I've tried to use AJAX Control Toolkit to extend the website, I'd try to avoid using them if I could because there are customers complaining that certain feature that utilizes AJAX Control Toolkit just doesn't work. This time however, it's an exception because I really need to use it, and