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

[Solved] Custom editortemplates for editing and inserting a new item

2 Answers 103 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.
Shane P
Top achievements
Rank 1
Shane P asked on 07 May 2011, 02:14 AM
I am using the grid in an mvc 3 application and its doing most of what I want.

I have a grid which contains user accounts, so think username,email,password etc, This is used for administrators to update a persons details.

I have created an editor template which works fine and the popup works ok.

However I want a different editor template for the Insert & Edit function is this possible?


Thank you

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 09 May 2011, 06:30 AM
Hello Shane P,

 No, this is not currently supported. The same template is used for inserting and editing. You can however use the OnEdit JavaScript event (if using Ajax editing) to hide/show different parts of the UI.

Greetings,
Atanas Korchev
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
0
Martin
Top achievements
Rank 1
answered on 23 Sep 2011, 08:04 PM
Atanas,

I have spent two days triying to customize edit forms and insert forms until i found this thread. Before finding this i found this link: http://stackoverflow.com/questions/7270856/telerik-mvc-custom-ajax-editor-template where some guy asked you how to do exactly what Shane P asked you, and in other post you wrote the same. So if we canĀ“t customize this, telerik turn it useless. I think Telerik team must tell this unsupported function more clearly. So now i have to use JQuery to do something that must be easy.

Regards
Tags
Grid
Asked by
Shane P
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Martin
Top achievements
Rank 1
Share this question
or