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

Grid Navigation Issue in Partial View

6 Answers 101 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.
Mridul
Top achievements
Rank 1
Mridul asked on 05 Jan 2011, 12:22 PM
Hi,

I am using Grid in partial view which is filled dynamically based on some search criteria, but when i try to navigate to next page it display grid in partial view as separate page. I have used serverside binding as followes :

Html.Telerik().Grid(information.UserDetail)
         .Name("Grid")
         .DataBinding(dataBinding => dataBinding.Server().Select("IHESearchUser", "Admin", new { filerType = ViewData["SearchType"], text = ViewData["SearchText"] }))  

When i click on next page it should go to "IHESearchUser" method but it is going to other method which is initially used to render this partial view.
I may be missing some thing, Please help. Thanks in advance.


Thanks
Mridul Sharma

6 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 28 Apr 2011, 01:47 AM
Mridul, 
Have you resolved this?

I am having the same issue.  I have a grid inside a partial view.  When I click on a paging, it loads the correct page with just the partial view (not the parent view).  I have no idea how to change those paging links so that the parent view gets reloaded with the appropriate partial view with the grid on the correct page.

Please let me know if you have resolved this yourself and how you did.

Warm regards,
Steve
0
Mridul
Top achievements
Rank 1
answered on 28 Apr 2011, 11:09 AM
Hi Steve,

I tried to solve that Paging issue with Telerik Grid but could not and we had to remove paging from that grid. There were few solution suggested on the same forum but didn't work. Well i believe Telerik team would provide that sort of support for Other tools too in future release. Even Telerik Reports have problem in Partial Views :( 

Sorry could not help..


Mridul Sharma
0
snehal
Top achievements
Rank 1
answered on 10 May 2011, 05:50 AM
has any one resolved the issue of mvc grid paging, filtering & grouping in partial view?? Any help is appretiated..
0
Saul
Top achievements
Rank 1
answered on 14 Jun 2011, 03:01 PM
Has anyone figured this out? I have the same issue. 
0
snehal
Top achievements
Rank 1
answered on 17 Jun 2011, 06:13 AM
You have do ajax binding to make paging/filtering work... my problem got solved with this..
0
krish
Top achievements
Rank 1
answered on 24 Sep 2011, 12:24 AM
Hey,

How did you got it worked with Partial Views.

With normal views , Ajax Sorting / Paging works fine.
But in the partial view if grid is present , the GridAction methods are never reached.

Regards,
Krish
Tags
Grid
Asked by
Mridul
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Mridul
Top achievements
Rank 1
snehal
Top achievements
Rank 1
Saul
Top achievements
Rank 1
krish
Top achievements
Rank 1
Share this question
or