Guys,
Am trying to exploit the QueryParam option in the GridProperties object to help me distinguish between four grids on one page.
I though I could set it something like:
m_oGridModelN.QueryParam = "tab=" & n
and was expecting to get the value of tab back in my action functions e.g.
<AcceptVerbs(HttpVerbs.Post)> _
Public Function Index(args As PagingParams, tab As String) As ActionResult
Alas "tab" is nothing in the calls to this action, so I presume I misunderstand QueryParams. I even added tab as an optional parameter in my routes, but it seemed to make no odds.
How can achieve an action parameter in my actions distinguishing the grid?
I do know in this example I can use args.ID, but can I use QuereyParams instead?
Cheers
Mark