jcarlos
Posts: 16
|
Posted: 12/01/2014, 12:58 AM |
|
Hi, Is it possible to make link as a search format, when I click the link, the value of the link will show in grid form. Thanks
ASP/SQL Serv. 2008
|
|
|
eratech
Posts: 513
|
Posted: 12/04/2014, 11:13 PM |
|
jcarlos - if I read you right, you want to pre-fill the search fields (or any other fields) when you click on a link?
If so, if you add the parameters to the link with parameter names that match the search fields (eg: mypage.asp?s_keyword=bobby) and it should pre-fill field 's_keyword' with the word 'bobby'. Use the paramaters from Data Columns to use the data from the database.
I have also had some success in forms simply grabbing the parameters if the field name is named the same as the parameter.
If you need to force the issue, you can always put the 'Retrieve Value for Control' into the 'Before Show' event of the textbox and get it that way.
Cheers
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
|
|
|