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

Ajax Grid - ViewModel

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mitchell
Top achievements
Rank 1
Mitchell asked on 05 Aug 2014, 10:46 AM
Is it possible to specify a different ViewModel for  Create/Edit to what's specified in @Html.Grid<ViewModel>

I have separate ViewModels for Edit and Create as the validation rules are different.

Thanks
Steve

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 07 Aug 2014, 07:35 AM
Hello Steve,

No, this is not supported. All CRUD operations are applied against same model.

Regards,
Nikolay Rusev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Mitchell
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or