NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Gordon Holfelder on October 07, 2010, 02:18:26 PM
-
Is it possible to change the state of the buttons in a browse based on the highlighted row? Is this done on the client or server side.
I'd like to enable/disable the change and delete buttons depending on a value in the browse row.
Thanks in advance,
Gordon
-
Add a condition to the buttons on the template. something like p_web.GSV('HideInsert') = 'Y'
In the embed that detects a user clicked something in the browse, grab the record and do your validation and update the SSV. You may need to refresh the browse to update the state of the buttons.
If the buttons are in the browse the approach is slightly different as you want to do the validation as each row loads.
HTH's
Kevin