NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Devan on December 18, 2011, 10:34:06 PM

Title: Disabling inline buttons on a browse
Post by: Devan on December 18, 2011, 10:34:06 PM
Hi all,

I have a browse that is embedded on a form.  The browse has two button on each row to update or delete the row in a popup form.

Under certain conditions, I want those buttons on the browse box (on ALL rows) to be disabled or hidden when a particular expression is true.

I cannot find anywhere to make the button read only or hidden conditionally??  Have I missed something obvious?

Thanks,
Devan
Title: Re: Disabling inline buttons on a browse
Post by: Rene Simons on December 18, 2011, 11:26:12 PM
Hi Devan,

You can Disable the column the button is in, based on the condition or the not(contition).

Cheers,
Rene
Title: Re: Disabling inline buttons on a browse
Post by: Bruce on December 19, 2011, 01:36:30 AM
Is this a standard change and delete buttons? If so you can do conditionals on the "form" tab - these apply to the inline buttons as well as the buttons below the browse (whichever exist).

cheers
Bruce
Title: Re: Disabling inline buttons on a browse
Post by: Devan on December 19, 2011, 11:34:46 PM
Bruce - thanks, your suggestion worked a treat.

I thought the options under the 'Form' tab only worked for the buttons UNDER the browse, I didn't realise that the conditionals worked for the buttons INLINE within the browse as well.  Handy tip to file away! :)
Title: Re: Disabling inline buttons on a browse
Post by: Bruce on December 20, 2011, 06:59:27 AM
yeah, makes sense though that the condition applies to both.

cheers
Bruce