Showing posts with label advantage. Show all posts
Showing posts with label advantage. Show all posts

Saturday, March 24, 2012

asp.net ajax

Hello, We have Visual Studio 2003, if we are now interesting in the advantage of asp.net ajax to improve user experience in our web applications, what do we have to do? I guess change VS 2003 to VS 2005, Am I rigth, what else?

If you want to use ASP.NET AJAX you must indeed change to vs2005. There are a several other frameworks that you can use with vs2003. For a detailed list check out:

http://www.ajaxdiff.com/Default.aspx?filter=dotnet

I Like the Anthem toolkit because the complete AJAX Functionality is build i server controls.


You certainly have to upgrade to VS2005 or Visual Web Developer to take the full advantage of Asp.net Ajax. But in case if you still want to stuck with VS 2003 checkout this posthttp://geekswithblogs.net/rashid/archive/2007/07/21/Asp.net-Ajax-and-VS2003.aspx

ASP.Net 2.0: Can an UpdatePanel be placed inside a Control?

Hi all,

I recently discovered the power of ASP.Net AJAX Extensions and re-architected my site to take full advantage of it. I want to say Kudos to the DevDiv guys in MS to create such a powerful toolkit!

I converted most of my custom controls to use the AJAX ScriptLibrary and it is working very well. However, I noticed that if I place the UpdatePanel inside the control, the AJAX postback does not work and results in the whole page being updated. If I move the UpdatePanel back to the container ASPX Web Form, then the AJAX call works again. Is this somehow by design?

The really strange part is that I can place the UpdateProgress control inside my custom control and it still works, but I need to place the UpdatePanel outside of the custom control for the AJAX to work properly. Ideally, I would like the control to have its own UpdatePanel and UpdateProgress so I won't have to manage the UpdateProgress' "AssociatedUpdatePanelID" value in two separate places (i.e. in the custom control and in the web form).

Has anyone successfully done that, or is this going to be "fixed" in future releases?

Any help will be appreciated,
- K.

You need to expose the Update() event of the updatepanel and explicitly call it in response to whatever events are necessary.

http://www.asp.net/AJAX/Documentation/Live/tutorials/UsingUpdatePanelUserControls.aspx


Thanks DisturbedBuddha! I think this is what I am looking for.

Cheers,
- K.