Hi,
i have a problem with a webcombo. i created a webcombo and a button. when the button is clikced, an event is thrown that should change the data in the ultrawebgrid (dataadapter.fill()).
this doesn't work, the selected value of the webcombo is gone...
why is that...???
Make sure you're databinding the combo through the InitializeDataSource. If the combo goes to fire it's event, but hasn't been databound yet, it won't know what the selected item is. Also, if you forced a databind before the event fired, it could clear the selected row information.
-Tony
Ah, i have it selection working now. (a missing asynchrefreshpanel was to blame)
However, i now get javascript errors when the selection occurs.
Error: "eventhandlers.blur is null or not an object"
This is an existing control someone else made so i'm just trying to get the thing working :)
Can you step into the script debugger and see what code is executing that is causing the null ref? Is it coming from the WebCombo? I remember seeing an error like this in the early days of Microsoft's AJAX framework - though I can't recall if it was an "Atlas" bug, or a webgrid/combo compatibility issue that was later resolved. You may want to verify that you're using the latest version of NetAdvantage available - versions prior to 2006 vol 3 are not supported in Microsofts AJAX framework.