I've been fiddling with the MVCRadGrid demo code, successfully adding column resizing and reordering.
Then I tried to add grouping. I added ShowGroupPanel="True" to my telerik:RadGrid tag,
GroupLoadMode="Client" to my MasterTableView tag, and AllowGroupExpandCollapse="True" AllowDragToGroup="True"
to my ClientSettings tag and Groupable="true" to my telerik:GridTemplateColumn tag
When I drag a column header to the GroupPanel I get an "Object expected" Javascript error in this code
The doPostBack is suspicious. This is MVC, there is no such thing. What am I doing wrong?
Also, if I set EnableHeaderContextMenu to true for the RadGrid, I get an error about type "CheckBox" must be
placed inside a form tag. I suspect there is something in the default context menu which uses an asp:checkbox, which, again, is not compatible with MVC. Is there a way to make this work in MVC?
Frank
Then I tried to add grouping. I added ShowGroupPanel="True" to my telerik:RadGrid tag,
GroupLoadMode="Client" to my MasterTableView tag, and AllowGroupExpandCollapse="True" AllowDragToGroup="True"
to my ClientSettings tag and Groupable="true" to my telerik:GridTemplateColumn tag
When I drag a column header to the GroupPanel I get an "Object expected" Javascript error in this code
__doPostBack(
'ctl00$MainContent$RadGrid1','FireCommand:ctl00$MainContent$RadGrid1$ctl00;GroupByColumn;TemplateColumn4')
The doPostBack is suspicious. This is MVC, there is no such thing. What am I doing wrong?
Also, if I set EnableHeaderContextMenu to true for the RadGrid, I get an error about type "CheckBox" must be
placed inside a form tag. I suspect there is something in the default context menu which uses an asp:checkbox, which, again, is not compatible with MVC. Is there a way to make this work in MVC?
Frank