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 -> ASP

 Unbound Checkbox - value/state always 0/false???

Print topic Send  topic

Author Message
Slopey

Posts: 33
Posted: 03/08/2007, 4:41 AM

Hi All,

I've got an editable grid (timesheetdetail) which is bound to a database table, and within the form, I've got an unbound checkbox (chkOS1) which has a checked value of 1 and unchecked value of 0 in the designer.

At runtime, if I do: Response.Write timesheetdetail.chkOS1.value or Response.Write timesheetdetail.chkOS1.state

I always get false/0 regardless of if the checkbox is checked or not??? How can I get the checked value when the checkbox is ticked so I can use it in one of the submit buttons "onclick" events?

Any ideas?

Cheers,
S.
View profile  Send private message
Slopey

Posts: 33
Posted: 03/08/2007, 5:34 AM

Resolved from the following:

http://forums.yessoftware.com/posts.php?post_id=49661

:)
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.

Web Database

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.