ying
Posts: 3
|
| Posted: 09/19/2006, 11:22 PM |
|
Hi,
By using the CCS, it allows us to create a Task Management System with the Application Builder whereby it automatically generate the record view and maintainance/update pages for us. By default, the maintainance page contains three buttons, they are Add", "Submit" and "Delete" button. I'm here would like to know, how do I or from where to control the display of the "Add", "Submit" and "Delete" button.
Pls advise...
|
 |
 |
peterr
Posts: 5971
|
| Posted: 09/20/2006, 12:21 AM |
|
There are several ways to hide or disable these buttons. For example by configuring the form's security (Restricted property) or by configuring the Allowed Insert/Update/Delete properties, or via custom code. A solution may depend on what specifically you want to do.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Chai Hoon
|
| Posted: 09/20/2006, 2:02 AM |
|
ok, I let you know what I'm trying to achieve.
I want those buttons to be displayed base on conditions. For instance:
I have a link (link to a maintainance page) with parameter "action='source1", So
If the value of "action="source1" then
Please just showing "Submit" and "Delete" buttons
Else
Showing "Add", "Submit" and "Delete" button
End.
pls advise how can I achieve this.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 09/20/2006, 3:17 AM |
|
See "Disallowed Update and Delete operations for unauthorized users." in the tutorial: http://docs.codecharge.com/studio3/html/QuickStart/Crea...rInitEvent.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|