This is a migrated thread and some comments may be shown as answers.
Paging links to post the form instead of get
0 Answers 12 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amit
Top achievements
Rank 1
Amit asked on 27 Apr 2011, 12:18 AM
In one of the page, there are several query parameters that are needed to build the server side query. The page uses custom server binding to do custom paging. Currently using the code below to pass the values to controller when the paging links are clicked but there are many parameters and would rather post the form and do UpdateModel to build the ViewModel and use that. How can this be done?

    .DataBinding(dataBinding => dataBinding.Server()
        .Select("QueueCustomBinding""Home"new {
            QueryParam1 = Model.QueryParam1,
            QueryParam2 = Model.QueryParam2,
            QueryParam2 = Model.QueryParam2
        })
    
Tags
Grid
Asked by
Amit
Top achievements
Rank 1
Share this question
or