Hi there,
I've been trying to get a simple webcombo box to work inside an update panel but it appears that no matter how I do it, the drop down no longer appears after the first event that triggers the update panel is fired. All I have on my ajax enabled webpage is two webcombos with static data. The webcombo that is outside of the updatepanel is wired to fire a selectedrowchanged event (which doesn't even do anything at the moment) which is registered in the triggers collection of the update panel. When I load the page the for the first time, both webcombos (with two rows and columns each, all of which are static and were added via the properties window in visual studio) are populated and respond to user input. As soon as the webcombo that fires the rowchanged event fires its first event the second webcombo that is inside the updatepanel becomes disabled and no longer responds to user input. I have tried many things including using webasyncrefreshpanel and also tried setting the EnableXmlHTTP value to true and initializing the layout myself but nothing seems to work. Am I missing something simple or aren't webcombos designed to work with Ajax at all?
My situation was a little different, but I too have had a lot of trouble getting Infragistics controls to play nicely with Ajax. I eventually gave up and simply used the Infragistics WARP instead of the more generic UpdatePanel. You might try that.
This caused other problems, though. The biggest on is that the WARP will break AJAX extensions. I.E. the postback handled by the warp will cause the ajax stuff to stop working.
Hi Xgarrido,
After a lot of trial and error and moving from the simple case I mentioned above to one that worked within my existing project I found the following items which were stopping it from working. (Note I am using v7.2 and .net 2.0).
-Don't bother trying to enable EnableXmlHTTP, it isn't necessary
- I couldn't get the above example to work when adding the columns and rows via the properties window in Visual Studio, I noticed weird things happening like when I changed combo1 columns, combo2 columns became the same as combo1 columns, not sure why, I switched to using the databinding in code where the "auto generate columns turned off" which seemed to work
-Do ALL column adding,datasource setting and event hooking in the Page_Init (including setting datatetext field and datavalue field event and do not add columns or change the datasource after that. In my case I used the page_init of my usercontrol instead of the consumer page
-Make sure your script manager comes before /above any part of your page that is dynamic (I had a menu at the top which stopped it working)
-I also had to ensure that after the Page_init event that I removed duplicate columns (1 of the two columns in my combo were getting added twice (at the end of Page_init there were two columns but during the event method there were three, no idea why)
-Finally I rebuilt an identical master page (nothing actually changed in it but I copied and pasted the code behind and controls to a fresh master page and it started working again).
My only remaining issue is that when you peform the below steps the selected item doesn't refresh itself. (The rest however works in both ie7 and firefox)
-Select an item in combo1 (non ajax)
-Select an item in combo2 (ajax)
-Change combo1 selection
-Combo2 text is still an item from combo1 but when you click on the grid you get the correct list of items based on the selection of combo1.
Hope this helps
I'm in a similar situation. [:'(]
I'm using with the 8.1 version and with IE works fine, but with FireFox no.
If I build a traditional ASP.NET 2.0 project works with all browsers, but if I build a project with AJAX extensions enabled, I have the problem with FireFox.
Any idea?
Thanks in advance.