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

 set 1 control based on another

Print topic Send  topic

Author Message
r1xliquid

Posts: 41
Posted: 01/07/2007, 10:22 AM

guys,
This seems pretty simple but i cant get it to work. I am using an editable grid.
I have one hidden field in my editable grid. Based on this fields value i want to make fileUpload control either visible or hidden.

I have tried custom events in:
*editableGrid (beforeShow)
*editableGrid (Row beforeShow)
*hiddden field (breforeShow)
*file upload (beforeShow)

any help would be great!
View profile  Send private message
r1xliquid

Posts: 41
Posted: 01/07/2007, 11:15 PM

after thinking about it and reading a little further i realized that because i am using an editable grid and all of the form elements have an itterator appended on them i would need something to loop through the form elements themselves.. like this i believe:

http://forums.codecharge.com/posts.php?post_id=44431
i am using codecharge 3.0 and i already have the GetItemByName in the clsControls class. But when i try access the [form_name].Controls object i get an error:

Microsoft VBScript runtime (0x800A01A8)
Object required: [form_name].Controls

i instantiate the class as follows:
dim FormControls
Set FormControls = [form_name].Controls

Not quite sure why i cannt get the the class. for form_name i am using the editable grid name, which is the same name the html form gets after compiling.

any ideas guys?

thanks!

Brian
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.