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

End cell edit on combo box item select

3 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Terry Foster
Top achievements
Rank 1
Terry Foster asked on 26 Jan 2010, 07:40 PM
What is the simplest way to end cell editing when the user selects an item from the drop-down list of a combo box in a GridViewComboBoxColumn?  The default behavior, of course, is to keep the cell in edit mode until the user clicks somewhere else.  I'd like to end cell editing immediately and commit the change (if any).

Thanks,
Terry

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 02 Feb 2010, 07:05 AM
Hello Terry Foster,

In this blogpost I have demonstrated a way to sense selection changes in the Combo and commit the data to the business object without waiting the cell to lose focus.  Please see Step 3.


Kind regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Naresh
Top achievements
Rank 1
answered on 22 Apr 2011, 07:56 PM
Hi ,

I have requirement. Can any body help me ..! I am a new bee to silver light. I have dropdowns, which will be populated in cell editing.
These drop downs I have provided in celledit template. Now when the user selects an item from the drop down that must be replicated on to cell template value.

Can you please help me....!
0
Pavel Pavlov
Telerik team
answered on 25 Apr 2011, 09:40 AM
Hello Naresh,
I am a bit confused , What do you mean by :
"that must be replicated on to cell template value."  Can you please give a bit more details on the expected behavior ?

Best wishes,
Pavel Pavlov
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
Tags
GridView
Asked by
Terry Foster
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Naresh
Top achievements
Rank 1
Share this question
or