CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dropdown default value

Print topic Send  topic

Author Message
itw_peter

Posts: 6
Posted: 06/10/2009, 11:41 AM

I have a drop down list which is binded to a database column. When the page loads, the drop down always has the value with ID = 1 selected. I have a Select Value (Selected = Yes) configured for the drop down, but it is not selected by default on live page. Any idea what is wrong?

Thank you in advance.
View profile  Send private message
melvyn


Posts: 333
Posted: 06/10/2009, 8:40 PM

Try on testing server. Live page not always get 100%

Publish your project and test it in your browser
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
jjrjr1


Posts: 942
Posted: 06/17/2009, 11:12 PM

Try in the default value for the control whatever the default bound value in the table is. Also try putting that value in "". for example "2" if the is the bound value in tha table you want to display.

I think if you just put Yes it will be interpreted as 1 or maybe 0

If I understand your question correctly


_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
View profile  Send private message

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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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