NetTalk Central

Author Topic: Disable browse row other button until row is selected  (Read 4310 times)

Manuel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Disable browse row other button until row is selected
« on: April 16, 2013, 09:54:17 AM »
Hi

Have netWebBrowse with other button in each row.

If click the button with out select the row, "sometimes" got wrong ID record.
If select the row and then click the button works fine.

Is it possible disable the button until row is selected?


C8 NT 6.49
Thanks
Manuel

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Disable browse row other button until row is selected
« Reply #1 on: April 16, 2013, 03:37:24 PM »
There is a template option to send rowid with button click to avoid this problem.

Manuel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Disable browse row other button until row is selected
« Reply #2 on: April 17, 2013, 08:19:55 AM »
Hi Kevin

It does not work.  "Include row ID" is selected. Tried with "open as popup" selected and not.

May be wrong embeed to GSV in child browse? > Before Browse Loop > After Settings Browse Behavior Settings
Id has two fields, string and long.

If Send Button click to server and p_web.Script(p_web.WindowOpen('SelDocDig'))  works fine, I would like open child browse in popup.


Thank you.
Regards
Manuel

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Disable browse row other button until row is selected
« Reply #3 on: April 17, 2013, 09:46:27 PM »
Manuel, it might be helpful if you post a small example.
If you tick on the option to "include row id" in the button, then the SessionValue of the browse row ID will be available in the form.

cheers
Bruce


Manuel

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Disable browse row other button until row is selected
« Reply #4 on: April 18, 2013, 04:31:52 AM »
Bruce,

The child procedure is not a form, is another browse.

May be I'm using wrong embeed to GSV in child browse?
> Before Browse Loop > After Settings Browse Behavior Settings

Id has two fields, string and long.

Thank you
Manuel

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Disable browse row other button until row is selected
« Reply #5 on: April 18, 2013, 09:36:45 PM »
I think you should make a small example Manuel. It's hard to debug stuff with just a short description.

cheers
Bruce