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 :)
Hi Tony,
I'm having a lot of trouble trying to select an item in the WebCombo programmatically. I use the following code:
If (selectedCell IsNot Nothing) Then
selectedCell.Activate()
selectedCell.Selected = True
End If
The selected cell is found, however its "Selected" property always remains false regardless of what i set it to. Is there any potential advice you could give me?
Thanks,
Sam