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

[Solved] Mixed edit modes for grid control issue

0 Answers 20 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.
Anton
Top achievements
Rank 1
Anton asked on 06 Jun 2011, 10:23 PM
Hello,
I have some problems implementing editing for grid control.
The aim is to implement grid with 2 command buttons:Edit and Details. Pressing "Edit" button, inline editing(GridEditMode.InLine) must be started. Pressing "Details" button, popup for editing(GridEditMode.PopUp) must be shown.
In this example:
Html.Telerik().Grid(Model)
        .Name("Grid")
        .Editable(editing => editing.Mode(GridEditMode.PopUp)) // <-- Setting the edit mode
        .DataKeys(keys => {/* code omitted for brevity */})
        .Columns(columns => {/* code omitted for brevity */})
        .DataBinding(dataBinding => {/* code omitted for brevity */})
You are setting only one Edit mode,and I can't find any solution, how to implement my task.
Please, suggest.

Best regards,
Anton Ermolaev 
Tags
Grid
Asked by
Anton
Top achievements
Rank 1
Share this question
or