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

[Solved] Error when using Filterable without Scrollable

1 Answer 23 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.
Conrad Salazar
Top achievements
Rank 1
Conrad Salazar asked on 29 Sep 2010, 04:39 PM

Telerik Version: 2010.2.825.235

Using the below source I get a scripting error when I remove the option for Sortable from the view and click on the filter icon. Error message:Invalid argument. Can you tell me if this is a known bug?

   Html.Telerik().Grid(Model.ScheduleInspectionList)
    .Name("Grid")
    .Columns(columns =>
    {
  
        columns.Template(o =>
        {            
            %>                    
            <input name="checkedRecords" type="checkbox" value="<%= o.PermitID %>" />                
             <%            
    }).Width(50);
  
        columns.Bound(o => o.Address).Width(200);
        columns.Bound(o => o.Category);
        columns.Bound(o => o.InspectionType);
        columns.Bound(o => o.Net);
        columns.Bound(o => o.Inspector);
        columns.Bound(o => o.ScheduleDate).Format("{0:MM/dd/yyyy}").Width(120);
        columns.Bound(o => o.Status);
    })
    .Filterable()
    .Pageable()
    .Sortable().Scrollable()
    .Render();
         
%>

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 30 Sep 2010, 07:17 AM
Hi Conrad, 

I'm afraid that I'm unable to recreate such error locally. Therefore, it will be appreciated if you provide a small runnable sample in which the mentioned behavior can be observed. 

All the best,
Rosen
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
Tags
Grid
Asked by
Conrad Salazar
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or