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

GridDropDownCol

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Monde
Top achievements
Rank 1
Monde asked on 07 Jul 2015, 10:47 AM

Hi All, 

 I'm having issues with the this Col. 

I can't get the selectvalue to fire up.

Please can you assist.

<telerik:GridDropDownColumn DataField="AstSeriesID" ListTextField ="Name" ListValueField="Id" DataSourceID="AssetSeries" HeaderText  ="Asset Series"
                           UniqueName="AssetSeries" DropDownControlType ="RadComboBox" EnableEmptyListItem="True" EmptyListItemValue=" " EmptyListItemText="<Add New Seies>">
                        </telerik:GridDropDownColumn>

 

Kind Regards, 

Liz

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 10 Jul 2015, 09:07 AM
Hi Liz,

You should access the generated RadComboBox during ItemCreated event handler:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/control-lifecycle/differences-between-itemcreated-and-itemdatabound-

And attach its selected index changed event:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-editinsert-mode

Hope this helps. Please give it a try and let me know if it works for you.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Monde
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or