Aaron
|
| Posted: 01/12/2003, 1:57 PM |
|
I've created a header file to display my menus. I'm trying to figure out how to hide/show various grids depending on the security level of the user. i.e. Admin Menu.
How do I hide a grid depending on Session("GroupID") in Code Charge Studio. I've tried some of the suggestions here on this forum, but can't seem to get anything to work.
|
|
|
 |
Sjg
|
| Posted: 02/21/2003, 3:43 PM |
|
Add a record Form.
Set Theme to what you want (right click on form and Edit Record to set theme)
Delete the Row with the buttons. (right click on row and selecte delete row)
Delete the Row Error row. (right click on row and selecte delete row)
I then Delete the Column with the text boxes.
Set Allow Inser, Allow Delete, Allow Update to No.
You now have a Form than can be displayed based on the security.
To do this,
Select the Form
Set the Restricted property of the form to Yes (Ensure it is the form and not the page).
Click the pop-up wizard (located on the prperty box on the restricted property of the FORM. You'll need to set focus (click) on the restricted property to see the wizard button on the right of the property box.
Any Group with Read Acccess will see the Form.
Put anything you want in the form.
It will be a good idea to rename your Form. It will probably defualt to NewRecord1 - I rename my to someting like LeftMenuWM - This is for the Webmaster menu.
Works real good for me.
|
|
|
 |
Trey
|
| Posted: 02/21/2003, 8:34 PM |
|
I did something that wasn't incredibly graceful but works well. Based on the groupid I actually use a different .html template. This is all done within header.asp. I have a very basic header for someone not logged in and more complex headers as the security groups increases. One thing to note, the html template with all the objects should be the one actually included within CCS so there won't be any missing links to complain about. Good luck...
Trey
|
|
|
 |
|