This question is locked. New answers and comments are not allowed.
Hi guys,
Could someone please tell me what i am doing wrong here:
If i set .PrefixUrlParameters() to true, it works fine, but if i set it to false, i get a System.NullReferenceException: Object reference not set to an instance of an object.
Any help would be greatly appreciated.
Thanks,
Nick
Could someone please tell me what i am doing wrong here:
@(Html.Telerik().Grid(Model) .Name("grid") .DataKeys(keys => keys.Add(c => c.IdentityCode)) .PrefixUrlParameters(false) .DataBinding(dataBinding => dataBinding .Server() .Delete("Delete", "People")) .Columns(columns => { columns.Bound(o => o.IdentityCode).Width(100); columns.Bound(o => o.Firstname).Width(200); columns.Bound(o => o.Surname); columns.Bound(o => o.LevelGroup); columns.Command(commands => { commands.Delete(); }).Width(200); }) )If i set .PrefixUrlParameters() to true, it works fine, but if i set it to false, i get a System.NullReferenceException: Object reference not set to an instance of an object.
Any help would be greatly appreciated.
Thanks,
Nick