Adding RadComboBox to RadGrid Edit?

The approach described by Program. X is very good. This, of course, works if you're using a RadCombobox inside of a GridTemplateColumn in RadGrid RadGrid also provides a built-in GridDropDownColumn that can automatically render a RadCombobox during edits.

If you choose to use the built-in column type, you need to programmatically set the client-side event handlers for the rendered RadGrid, like this: protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI. GridItemEventArgs e) { //Find GridEditableItems when in Edit mode if (e. Item is GridEditableItem && e.Item.

IsInEditMode) { //Get reference to item (i.e. Row) var item = e. Item as GridEditableItem; //Get reference to auto-generated RadCombobox in //specific column (in this case, a column called Title) var rcb = item"Title".

Controls0 as RadComboBox; if (rcb == null) return; //Customize the RadCombobox properities rcb. OnClientSelectedIndexChanged = "onselectedindexchanged"; } } Where "onselectedindexchanged" is the name of a client-side JavaScript function on your page designed to handle the RadCombobox event Either of these approaches should enable you to achieve your goal.

The approach described by Program. X is very good. This, of course, works if you're using a RadCombobox inside of a GridTemplateColumn in RadGrid.

RadGrid also provides a built-in GridDropDownColumn that can automatically render a RadCombobox during edits. If you choose to use the built-in column type, you need to programmatically set the client-side event handlers for the rendered RadGrid, like this: protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI. GridItemEventArgs e) { //Find GridEditableItems when in Edit mode if (e.

Item is GridEditableItem && e.Item. IsInEditMode) { //Get reference to item (i.e. Row) var item = e.

Item as GridEditableItem; //Get reference to auto-generated RadCombobox in //specific column (in this case, a column called Title) var rcb = item"Title". Controls0 as RadComboBox; if (rcb == null) return; //Customize the RadCombobox properities rcb. OnClientSelectedIndexChanged = "onselectedindexchanged"; } } Where "onselectedindexchanged" is the name of a client-side JavaScript function on your page designed to handle the RadCombobox event.

Either of these approaches should enable you to achieve your goal.

Telerik are the best people to help you with this, but from their site (and from memory): telerik.com/help/aspnet-ajax/combo%5Fcli... If you have your radCombo: With your JS event: Where hiddenField is the ID of the hidden field.

Thank you for the reply, I will test this. – Kush Aug 14 '09 at 11:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions