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

[Solved] Ajax binding not working with grid

2 Answers 81 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.
Jacques
Top achievements
Rank 1
Jacques asked on 31 Oct 2011, 08:21 PM
Hi,

I have a grid with ajax binding displayed in a partial view. When sorting, "No records to display" is returned.". In fact, the action  specified (see below) is not triggered.

 

.DataBinding(dataBinding => dataBinding.Ajax()
        .Select("_AjaxData", "OrgPavillon", new { orgid = 1}))

I have verified ScriptRegistrar and grid name (for spaces) and all seems ok. I surelly miss something but I can't see what, the code executes with no error. A sample project reproducing the behaviour is attached (with the necessary databases).

I'd really appreciate if you could help me on this issue. Thanks

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 01 Nov 2011, 10:12 AM
Hi Jacques,

Please upgrade to Q2 2011 SP1, this should resolve the described issue.

Also note that the select action will not be requested as grid's operation mode is set to client, which is expected.

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Jacques
Top achievements
Rank 1
answered on 01 Nov 2011, 01:47 PM
Hi Rosen,

I have installed the upgrade and sorting works fine. As you mentionned, I changed operation mode to client and it is even better.
Thank you for your time.

Jacques
Tags
Grid
Asked by
Jacques
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Jacques
Top achievements
Rank 1
Share this question
or