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

 How to keep list grid hidden until needed?

Print topic Send  topic

Author Message
Colin Mckinney
Posted: 03/02/2004, 1:06 PM

Whats the event to use to start with

Editable_List.Visible = False

and end with

Editable_List.Visible = True

to keep a search grid unseen and empty until needed?

My page format is:

Record Grid
Search Grid
List Grid --- this one should remain hidden or empty until either a record is entered or a search is made.
peterr


Posts: 5971
Posted: 03/02/2004, 9:50 PM

The "Before Show" event.
Run the page, view the HTML source and find out the names of both record forms (near the <form> tag).
Then in the "Before Show" of the grid use the code like:
If CCGetFromGet("[FormName]","") = "" Then
Editable_List.Visible = False
End If
(replace [FormName] with the name of the form that you found)
If the form is submitted via POST then you may need to use:
If CCGetFromPost("[FormName]","") = ""

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.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.