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

Grid editing only supported for MVC 2.0?

5 Answers 63 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christian
Top achievements
Rank 1
Christian asked on 28 Mar 2011, 11:30 AM
In the documentation it says:

The editing feature of Telerik Grid for ASP.NET MVC is available only for ASP.NET MVC 2.0. Make sure you are using the right version of Telerik.Web.Mvc.Dll.

Is it true that I will not be able to use the editation feature of the Telerik MVC grid component in my MVC 3 project?

If so, is there some kind workaround for this?

5 Answers, 1 is accepted

Sort by
0
khathu
Top achievements
Rank 1
answered on 28 Mar 2011, 03:20 PM
I have been battling to make my editor work through Razor on MVC3 since morning. I have had no luck. even the most basic example does not work. The editor displays properly but seems to be disabled through styling.

I am not sure if its a bug or if I am missing something.
0
Atanas Korchev
Telerik team
answered on 28 Mar 2011, 03:59 PM
Hi,

 MVC 3 supports editing. We have not updated our documentation - thanks for pointing this out!

Regards,
Atanas Korchev
the Telerik team
0
khathu
Top achievements
Rank 1
answered on 29 Mar 2011, 07:47 AM
Got everything to work on MVC 3 using Razor views . I had missed to register the scripts :S
0
Voss Grose
Top achievements
Rank 1
answered on 15 Jan 2012, 12:33 AM
what scripts did you register?

thanks.
0
khathu
Top achievements
Rank 1
answered on 16 Jan 2012, 06:47 AM
@Voss

I believe I was missing the Telerik.ScriptRegistrar as shown below:
@(Html.Telerik().ScriptRegistrar()
                 .DefaultGroup(group => group
                             .Add("telerik.common.js")
                                     .Add("telerik.editor.js")
                                             .Add("telerik.imagebrowser.js")
                     .Compress(true))
                 .OnDocumentReady(
                 @<text>
                     prettyPrint();
                 </text>)
)

Are you having a problem with the editor helper?
Tags
Editor
Asked by
Christian
Top achievements
Rank 1
Answers by
khathu
Top achievements
Rank 1
Atanas Korchev
Telerik team
Voss Grose
Top achievements
Rank 1
Share this question
or