CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 selected index html control

Print topic Send  topic

Author Message
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 .

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.