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