![]() |
Sergey Kornilov admin 4/23/2013 |
Here is how you can get access to search variables (besides parsing the URL): data("FieldName")=Replace(data("FieldName"),txt,"<font color=RED><i><b>" & txt & "</i></b></font>", 1, -1, vbTextCompare) |
![]() |
acaruson author 5/7/2013 |
Here is how you can get access to search variables (besides parsing the URL): http://xlinesoft.com/asprunnerpro/docs/print_search_parameters_on_list_page.htm To highlight search results you can either use 'View as' type 'Custom' or events like List page: Before record processed: http://xlinesoft.com/asprunnerpro/docs/before_record_processed.htm The latter is more convenient if you want to highlight the content of several fields. data("FieldName")=Replace(data("FieldName"),txt,"<font color=RED><i><b>" & txt & "</i></b></font>", 1, -1, vbTextCompare)
|
![]() |
Sergey Kornilov admin 5/8/2013 |
Here is what you looking for: if not IsEmpty(Session(CSmartStr(strTableName) & "_advsearch")) then |
![]() |
acaruson author 5/8/2013 |
Here is what you looking for: Response.write searchClauseObj.var_where(searchClauseObj.sessionPrefix & "_simpleSrch")
|
![]() |
Sergey Kornilov admin 5/8/2013 |
I have updated my code sample to provide the complete example. |
![]() |
acaruson author 5/8/2013 |
I have updated my code sample to provide the complete example.
|
![]() |
Sergey Kornilov admin 5/9/2013 |
I have tested this code with ASPRunnerPro 7.2 before posting a reply here. It worked. Probably you putting this code to wrong event or your version of ASPRunnerPro is different. |