This question is locked. New answers and comments are not allowed.
Hi
I am using the mvc grid on a number of different views (e.g. View1, View2, View3 etc.). These views are called from the one controller AdminController
If I call the initial Index ViewResult and then navigate to the relevant ViewResult (eg. Admin/View1, Admin/View2 etc.) the grids populate correctly.
My problem is is I navigate directly to the view, such as Admin/View1, the grid does not populate and I have to navigate to Admin and then back to Admin/View1 to get the grid to populate.
For all the grids I'm using ajax binding on the grids such as :
.DataBinding(dataBinding => dataBinding.Ajax().Select("View1Binding", "Admin"))
Can you tell me how to populate the grids when called directily such as Admin/View1 without having to do to Admin first?
Thanks
Mark
I am using the mvc grid on a number of different views (e.g. View1, View2, View3 etc.). These views are called from the one controller AdminController
If I call the initial Index ViewResult and then navigate to the relevant ViewResult (eg. Admin/View1, Admin/View2 etc.) the grids populate correctly.
My problem is is I navigate directly to the view, such as Admin/View1, the grid does not populate and I have to navigate to Admin and then back to Admin/View1 to get the grid to populate.
For all the grids I'm using ajax binding on the grids such as :
.DataBinding(dataBinding => dataBinding.Ajax().Select("View1Binding", "Admin"))
Can you tell me how to populate the grids when called directily such as Admin/View1 without having to do to Admin first?
Thanks
Mark