C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Tuesday, May 22, 2012

ERROR 404- While performing Client side sorting for MVC telerik grid

We are facing the problem while implementing the Client Side Sorting in the MVC Telerik grid.
Steps Followed
    * Done Data Binding using Ajax  in the partial view and set the operation mode to Client as below:-
                                            .DataBinding(Function(obj) obj.Ajax().OperationMode(GridOperationMode.Client)) _
    * Enabled the Sortable Property of the telerik grid.
                                            .Sortable() _
    * Loaded the Partial view in the Parent page to open the Partial view as below
                                             @Html.Partial("~/Views/EventNumber/EventSearch.vbhtml", eventNumberModel)
    * when we try to load the parent screen, it is throwing Error 404
 
     * And when we removed the Databinding from the telerik grid, it is not throwing this error.
 
So is this the problem with databinding or something else. and is there any other way through which we can perform client side sorting in MVC telerik grid without using databinding.
 
SOLUTION 1:
 
@Html.Partial("~/Views/EventNumber/EventSearch.vbhtml", eventNumberModel)
 
Remove “.vbhtml” and check again.
 

No comments:

Post a Comment