Ajax DataGrid Support Product Page
how do you filter the recordset for ajax datagrid by request variable?
Asked 12 years ago
2
have this question
12 years ago Steve Skinner posted:
So, I can easily create a datagrid for all records in a table, or records that match my manually entered value, but there's nothing in the manual that tells you how to filter a recordset for the datagrid using a request variable. What's the proper syntax to do this?My page that uses this particular datagrid is loading customer data and everything is relating to the customerID. So, the url of my page is: /customer.asp?ID=7.
What do I enter in the field to filter by the customerID variable from the URL?
Replies
Replied 12 years ago
12 years ago Miroslav Zografski replied:
Hello Steve,
When Request variable is set to filter you need to enter the name of the variable and following will be set to filter against : Request["variablename"] .
Regards.
When Request variable is set to filter you need to enter the name of the variable and following will be set to filter against : Request["variablename"] .
Regards.
Replied 12 years ago
12 years ago Steve Skinner replied:
Awesome. Thanks! That was easy....
I just used Request Variable and then put in the variable used in the URL and it worked like a charm.
I just used Request Variable and then put in the variable used in the URL and it worked like a charm.
Replied 12 years ago
12 years ago Miroslav Zografski replied:
Hello Steve,
You are welcome. Enjoy!
Regards.
You are welcome. Enjoy!
Regards.