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

[Solved] How can we catch the selection changed event of a ComboboxColumn in GridView control

2 Answers 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rejish Rajan
Top achievements
Rank 1
Rejish Rajan asked on 18 Feb 2010, 03:44 PM
Hi,

How can we catch the selection changed event of a ComboboxColumn in GridView control ?

Thanks & Regards
Rejish.

2 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 22 Feb 2010, 07:56 AM
Hello Rejish,

There are a couple of ways to achieve this. One is to use a custom CellEditTemplate and do without ComboBox column. In the data template you can define your own RadComboBox and attach to its SelectionChanged event. You can look at this online example for a reference.

The other option is to create a custom column deriving from GridViewComboBoxColumn and override CreateCellEditElement(...). The base method returns RadComboBox that you can use to attach a handler for its SelectionChanged event.

Hope this helps,
Stefan Dobrev
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Rejish Rajan
Top achievements
Rank 1
answered on 27 Feb 2010, 03:04 PM
Thank you for the reply

Thanks & Regards
Rejish.
Tags
GridView
Asked by
Rejish Rajan
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Rejish Rajan
Top achievements
Rank 1
Share this question
or