| | |
override automatic trim of request object
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2009
Posts: 18
Reputation:
Solved Threads: 1
I have a text box that I use as part of a search function.
Whenever the user searches for "bet" it finds the first string that includes "bet", as in "abet". That's OK. When the user searches for " bet " it finds the first instance of " bet ". Still OK. Now, I have a "Next" button that searces for the next instance. It works, but the blanks in " bet " are gone and it finds "abet". What is happening is that the next button is an href that has as a parameter the contents of the search string " bet ", but when I request it, I get "bet". Does anyone have any idea how to override this behavior?
Whenever the user searches for "bet" it finds the first string that includes "bet", as in "abet". That's OK. When the user searches for " bet " it finds the first instance of " bet ". Still OK. Now, I have a "Next" button that searces for the next instance. It works, but the blanks in " bet " are gone and it finds "abet". What is happening is that the next button is an href that has as a parameter the contents of the search string " bet ", but when I request it, I get "bet". Does anyone have any idea how to override this behavior?
Last edited by jimib; Oct 21st, 2009 at 6:45 pm.
![]() |
Similar Threads
- JSF HTTP 500 error (JSP)
- Object reference not set to an instance of an object (ASP.NET)
- Postback URL ? (ASP.NET)
- ASP Form problem - email not coming through (ASP)
- Problem: Deleting with chk in DataList (ASP.NET)
- Http request error when using AJAX. (JavaScript / DHTML / AJAX)
- Creating a Login Page (ASP)
Other Threads in the ASP Forum
- Previous Thread: Web pages resolution fit in window area
- Next Thread: ASP to ASP.NEt
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7





