View Full Version : Token does not exist error
tractsforje
09-05-2003, 09:27 AM
In a dropdownlist I have the following code in the
SelectedIndexChanged event:
If Dropdownlist2.SelectedItem.Text = "Chick Tracts" Then
System.Diagnostics.Process.Start("http://www.chick.com/")
End If
But...when I make the selection I get the following error:
"An attempt was made to reference a token that does not exist"
Can you tell me what's wrong?
Thanks
Steve
bruce
09-10-2003, 01:07 AM
I don't think you can spawn process on our server..
I tried that on my test acct and i got the same error.
[b]quote:Originally posted by tractsforje
In a dropdownlist I have the following code in the
SelectedIndexChanged event:
If Dropdownlist2.SelectedItem.Text = "Chick Tracts" Then
System.Diagnostics.Process.Start("http://www.chick.com/")
End If
But...when I make the selection I get the following error:
"An attempt was made to reference a token that does not exist"
Can you tell me what's wrong?
Thanks
Steve
</blockquote id="quote"></font id="quote">
tractsforje
09-12-2003, 11:15 AM
I was trying to pull up a different URL than my own, and was successful by changing my code, like so: Response.Redirect("someURL")
But...that replaced my URL window with the new one, which I didn't want to do. I wanted a new window to be created in addition to my own, and discovered it had to be done with javascript in a .Write statement, as opposed to a .Redirect statement, like so:
Response.Write("<script language = javascript> Window.Open ('someURL', '_new') </script>")
Steve
vBulletin® ©Jelsoft Enterprises Ltd.