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

Populating controls from combobox

3 Answers 92 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
Jon (I.T. Agility Inc.) asked on 07 Jul 2008, 02:00 PM
Hello,

I have a combo box in an edit item template in a grid.  I have the combo loading on demand and then I have the selectedindexchanged event wired up.  That event gets fired when I make a selection in the combo, but the controls I want to fill values with based on the input to the combobox never display. 

so the example would be to have the user type a few letters in the combo - the combo goes back to the database an finds a list of values and displays them - in this case it is product numbers.  When the user selects a product number the selectedindex changed event goes to the database and gets a product based on the number selected.  Now, I have a textbox in another column in the grid, in a edit item template that I want to set the text property on - this is what is never being upated.

All this is being wired up using the AjaxManager.

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 09 Jul 2008, 02:00 PM
Hello CharmingSoft,

Could you check whether you have configured the RadAjaxManager properly, that is RadGrid should update itself?

All the best,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Patrick Wilson
Top achievements
Rank 1
answered on 08 Oct 2009, 01:08 PM
How do i use a combobox in an edit item template in a radgrid to populate a textbox within the same radgrid?
0
Princy
Top achievements
Rank 2
answered on 09 Oct 2009, 03:19 AM
Hello Patrick,

You can refer to the following online demo which explains on how to get reference to controls in grid edit form and populate it depending on an option the user selects for another control in the same edit form. This should surely help you out:
Accessing Cells and Rows

Thanks
Princy.


Tags
ComboBox
Asked by
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
Answers by
Simon
Telerik team
Patrick Wilson
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or