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

[Solved] MVC Grid Editing

0 Answers 100 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.
erick
Top achievements
Rank 1
erick asked on 05 Jul 2011, 04:35 AM
Hi, got two problems

i bound my Detail Grid using two data keys using this line
.DataKeys(keys => keys.Add(d => d.ObjectType))
.DataKeys(keys => keys.Add(d => d.SeriesName))

i can populate Master/Detail grid template using AJAX Binding and also can have "Insert" toolbar and "Edit" command in the Grid

now my question are:
1. when i create new record, can i have the ObjectType populate based on the Master record so User just type in anything else without the need to know about ObjectType? 

2. when i try to edit it, the template for Boolean value populate using DropDownList instead of Checkbox..it's annoying because in dropdown it has (True, False, Not Set) value :(

i'm using Telerik Q1 419, MVC 3 2010 Razor Engine

thx,
erick
Tags
Grid
Asked by
erick
Top achievements
Rank 1
Share this question
or