This question is locked. New answers and comments are not allowed.
I am using the Q2 2010 released MVC Grid and all basic functionalities are working just fine.
My grid is a user control (.ascx) and loaded with a page (e.g. Index.aspx view of HomeController).
The grid data is binding to a [GridAction] function (e.g. DataAjax in GridController) as Ajax request (using => dataBinding.Ajax() ).
It works fine when it loads with its resident page (e.g. Index.aspx). The grid refresh button also works fine when I click it.
I can see the refresh links to the Index page path.
I place a MVC Ajax ActionLink on the page and link to an update function (e.g. FormatUpdateData in GridController).
This will reload the grid part on the page as partial view.
When I click the Ajax Actionlink, it jumps to the linked function and reloads the grid as partial view update.
It seems the link and function work fine. Here is the problem:
1) The reloaded grid doesn’t trigger data binding action when it reloaded (Grid with no data)
2) The grid refresh link now changed to link to the Ajax partial view function path /Grid/FormatUpdateData. If clicked the refresh,
the browser try to go to the path /Grid/FormatUpdateData
Are these the design behaviors?
How can we update grid as a partial view and trigger refresh (data binding action) after partial page loaded?
Thanks,
Propel Studio