This question is locked. New answers and comments are not allowed.
Hello Telerik Team,
Currently I'm using Entity Framework 4.0 along with MVC utilizing telerik mvc grid. I'm facing trouble with Server Edit Templates(Server binding), if you guys could post some example it would be of great help.
Thanks,
Shiva
Currently I'm using Entity Framework 4.0 along with MVC utilizing telerik mvc grid. I'm facing trouble with Server Edit Templates(Server binding), if you guys could post some example it would be of great help.
Thanks,
Shiva
6 Answers, 1 is accepted
0
Hi shiva,
Atanas Korchev
the Telerik team
The grid is using ASP.NET MVC editor templates. You can check this example for additional info as well as this help topic.
Regards,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
shiva
Top achievements
Rank 1
answered on 01 Feb 2011, 08:54 AM
Hi Atanas,
Thanks for the reply. I used the same concept to replicate in my project. so the question is do we need to create a new class object for editing and is this mandatory or Is it sufficient to use the classes generated in edmx file generated by entity framework? Here is the confusion and I needed some example to illustrate this.
Regards,
Shiva
Thanks for the reply. I used the same concept to replicate in my project. so the question is do we need to create a new class object for editing and is this mandatory or Is it sufficient to use the classes generated in edmx file generated by entity framework? Here is the confusion and I needed some example to illustrate this.
Regards,
Shiva
0
Hello shiva,
Atanas Korchev
the Telerik team
I cannot answer your question without knowing how your model looks like. In most cases it is possible to use the object generated by EF so I suggest you first try with it and create another object only if you cannot use the EF one.
Regards,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
shiva
Top achievements
Rank 1
answered on 01 Feb 2011, 01:19 PM
Hello,
I'm including my model here (only the required tables).
TPROJECT_TYPE and TCATEGORY tables are lookup tables.
TPROJECT_TYPE_CATEGORY_RATE table is what I'm trying to implement for Grid Editing. this refers values from the two tables mentioned above.
Could you please provide your inputs.
Regards,
Shiva
I'm including my model here (only the required tables).
TPROJECT_TYPE and TCATEGORY tables are lookup tables.
TPROJECT_TYPE_CATEGORY_RATE table is what I'm trying to implement for Grid Editing. this refers values from the two tables mentioned above.
Could you please provide your inputs.
Regards,
Shiva
0
Hi shiva,
Atanas Korchev
the Telerik team
I am not sure if this will work out of the box - you just need to try it. The rule of thumb is that if you can edit your model with the default means that ASP.NET MVC provides (Html.EditorFor) you will be able to use it with the Telerik MVC grid as well.
Regards,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
shiva
Top achievements
Rank 1
answered on 01 Feb 2011, 02:06 PM
Ok Thanks a lot for all your replies Atanas.