
November 2nd, 2001, 06:44 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Originally posted by : Aiden Montgomery (aidenmontgomery@hotmail.com)Hello there,I am not too sure of your situation however there are a few alternatives.You can use the page onload event handler.I only use C# sorry;Page_Load (Object sender,Eventargs e){ string result = (string)Request.QueryString["what"]; what.Value = result;}This will get the result from the query string and set the value to the result.Alternatively if you want to use the way that you have tried already... Try it this way.I think that this should work for you.I have had problems with this sometimes and I have had to call the Page.DataBind() event to make the embedded code actually appear.Aiden.------------Chris K at 10/29/2001 11:07:30 AMHi allIm having some problems trying to set the test item control text value to a value from the url.. ie.Sub getWhatParm response.write (Request.QueryString("what"))End SubDoes not work. I have tried a variety of methods and just cant dymanically alter the displayed text value on screen from the url query string.I basically want to keep a users entered criteria between posts to the same page via the url string: www.mysite.com?what=abcIdeas??CheersChris
|