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

[Solved] Dynamic Configure Grid with it being in a PartialView.

0 Answers 22 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.
Joel
Top achievements
Rank 1
Joel asked on 30 Jan 2011, 07:37 PM
I have a requirement where the grid needs to be in a PartialView but I also (think I) want to bind the Grid using ServerBinding. I need to have the following functionality:
  • Load/ build the grid without doing a full page post.
  • Ability To change the columns that are returned (this is not hiding but actually building the columns) but do so in an Ajax partial view. This is done from another element on the page. For example the user is allowed to have their own view which may contain some columns or it may not.
  • CustomFormatting and editing server side.
  • Custom Paging, Sorting

    I believe the best way for me to get this to work is to somehow modify the Action calls for Paging, Sorting, Grouping to be Microsoft Ajax.ActionLink calls where the UpdateTargetId is the id of the element containing the grid. Then in my action I would simply rerender the grid in its partal view. Is this possible?

Tags
Grid
Asked by
Joel
Top achievements
Rank 1
Share this question
or