We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Use of QueryParam in GridProperties

Thread ID:





104284 Jul 7,2012 01:57 PM UTC Aug 23,2012 01:03 PM UTC ASP.NET MVC (Classic) 2
Tags: Grid
Mark Treveil
Asked On July 7, 2012 01:57 PM UTC


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?


Mark Treveil
Replied On July 9, 2012 10:46 AM UTC

Apologies from this end.  The QueryParams does work sensibly, and as I thought.  I managed to introduce enough typos to break my example. Fix the cut and paste errors and it now works find.


Rakesh D [Syncfusion]
Replied On August 23, 2012 01:03 PM UTC

Hi  Mark Treveil,


Thank you for your interest in Syncfusion products.

Happy to hear that your issue is being solved.

Please let us know if you need any further assistance.

Rakesh D


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon