This is a migrated thread and some comments may be shown as answers.

[Solved] AjaxManager vs Ajax Toolkit

3 Answers 171 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Alex Peachey
Top achievements
Rank 1
Alex Peachey asked on 03 Jun 2007, 07:25 PM
The AjaxManager doesn't seem to play nicely with all of the Ajax Toolkit widgets/extenders. Specifically it doesn't like the CascadingDropDown Extender very much. If you put a couple of drop downs on a page and chain them up with a couple of CascadingDropDown extenders, all appears to work well until you wire up some controls with the AjaxManager. If a control has a target of a panel containing your cascading drop downs, then the panel silently refreshes but the drop downs loose their data.
I suspect it is some conflicts in the scripting. I can open a ticket with an example if you'd like, but you can likely reproduce pretty easily by putting a panel, then two dropdowns wired with cascasingdropdown extenders, a textbox, and a button. Using an ajax manager, wire the button so that it has a target of your panel. Make it do something trivial like update the text in the text box. When you click it, you should see the data disappear from your drop downs.

Is there anyway to make this work? I like using the cascading drop downs for selecting country/state, but I also want to be able to use the AjaxManager.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Jun 2007, 12:52 PM
Hello Alex Peachey,

Unfortunately you are correct and I was able to reproduce the problem locally. I forwarded this weird issue to our developers for investigation and we will get back to you when we have more information. Hopefully we will have all extenders from the AjaxToolkit working for the official 1.0 release.

Please excuse us for the temporary inconvenience.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steve
Telerik team
answered on 05 Jun 2007, 01:00 PM
Hi Alex Peachey,

Just a quick follow up - it appears that the problem is only with the RadAjaxPanel and not with the AjaxManager. If you make sure that the extender is in the same container where the dropdownlist you are updating is, then it all works as expected. I am attaching a sample page I used this on.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex Peachey
Top achievements
Rank 1
answered on 05 Jun 2007, 02:34 PM
Thanks for looking into this. It does seem like it is very touchy and I can only get certain arrangements of the controls to work. As always, keep up the good work and I can't wait to see the full capabilities of 1.0.
Tags
Ajax
Asked by
Alex Peachey
Top achievements
Rank 1
Answers by
Steve
Telerik team
Alex Peachey
Top achievements
Rank 1
Share this question
or