CodeCharge Studio
search Register Login  

Visual Web Reporting

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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