Hey guys,
I am so close I can taste it... So I have a radcombo that's using load-on-demand. It's a trigger/control parameter for a formview in an ajax panel. It's not bound to a datasource, it gets filled in the ItemsRequested Sub. The combo contains a list of names and the formview allows the user to edit the selected name. So on Formview_ItemUpdated I want to update the radcombo in case they edited the name associated with the record. Here's where my problem lies. I tried just calling radcombo.databind on the ItemUpdated event, but no change - because it's load-on-demand, I don't thing the radcombo has a datasource anymore. As far as I can see I would have to call the itemrequested event to actually update the radcombo, but I don't know how to do that from code behind, as I don't think I have the proper RadComboBoxItemsRequestedEventArgs. I could make my own "load the combo" but I need a few bits of info that all seem to live in the RadComboBoxItemsRequestedEventArgs (I would need most of the arguements to properly rebuild the list)
I *think* this is a simple request, and I've looked all over the forum before posting (this time)...
Chris
I am so close I can taste it... So I have a radcombo that's using load-on-demand. It's a trigger/control parameter for a formview in an ajax panel. It's not bound to a datasource, it gets filled in the ItemsRequested Sub. The combo contains a list of names and the formview allows the user to edit the selected name. So on Formview_ItemUpdated I want to update the radcombo in case they edited the name associated with the record. Here's where my problem lies. I tried just calling radcombo.databind on the ItemUpdated event, but no change - because it's load-on-demand, I don't thing the radcombo has a datasource anymore. As far as I can see I would have to call the itemrequested event to actually update the radcombo, but I don't know how to do that from code behind, as I don't think I have the proper RadComboBoxItemsRequestedEventArgs. I could make my own "load the combo" but I need a few bits of info that all seem to live in the RadComboBoxItemsRequestedEventArgs (I would need most of the arguements to properly rebuild the list)
I *think* this is a simple request, and I've looked all over the forum before posting (this time)...
Chris