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

[Solved] Last piece of my combobox puzzle

1 Answer 98 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 07 Apr 2009, 05:58 AM
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

1 Answer, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 09 Apr 2009, 05:33 PM
So In my case,  the combobox would only have 1 name in it, so I can bypass most of the information in the args and rebuild it by hand. Problem solved...
Tags
ComboBox
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Share this question
or