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