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

[Solved] Batch Editing + Dropdown

1 Answer 122 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nohinn
Top achievements
Rank 1
Nohinn asked on 15 Jul 2011, 12:43 PM
I have my grid using a dynamic object and I set for one of the properties of that object the UIHint attribute with my dropdown editor template in it, so:
<UIHint("DropDown")>
public string Item { get; set; }
It renders ok when I enter the edit mode of the cell.
My problem is, when I select a new value for it, the cell has a mark that the value has changed, but it shows the old value and not the new one.
Do I have to update the cell value using any of the client events? If so the event I should use is OnSave (I think) but what code should I use in my javascript function?
If I don't have to use any client event, what approach should I use then?

1 Answer, 1 is accepted

Sort by
0
Carson
Top achievements
Rank 1
answered on 24 Aug 2011, 01:09 PM
There is a good example, here.

Tags
Grid
Asked by
Nohinn
Top achievements
Rank 1
Answers by
Carson
Top achievements
Rank 1
Share this question
or