mike2
|
Posted: 12/07/2004, 1:25 AM |
|
hello,
how can i set an item in my select control to "selected" depending on a querystring parameter
thanks
kurt
|
|
|
Stan
|
Posted: 12/07/2004, 2:36 AM |
|
Kurt
in before show event of the ListBox you can try the following
If Not Request.QueryString("someparam") Is Nothing Then
<FormName><ListBoxName>.SelectedIndex = -1
<FormName><ListBoxName>.Value = "somevalue"
' for example <FormName><ListBoxName>.Value = Request.QueryString("someparam")
End If
Stan
|
|
|
mike2
|
Posted: 12/07/2004, 3:26 AM |
|
thanks, stan
i found the same way in the online documentation .
|
|
|
|