NetTalk Central

Author Topic: Hiding Buttons in HTML  (Read 3091 times)

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Hiding Buttons in HTML
« on: November 10, 2010, 03:17:42 AM »
Hi,

I have a Browse (ok, make that a lot of Browses) that needs lots of Buttons (I counted 24 on one Browse).

My understanding is that it is better to use NetWebBrowse and make the buttons in the XHtml tab of the NetWebBrowse settings, one button for example:

  <td width="10%">
    <form action="BrowseTicketHistory" method="post" target=_self>
      <input type="submit" value="Ticket History" >
     </form>
   </td>

Cool, this works pretty well.  The problem is: How do I hide this button based on a session value???

Thanks
Charl



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Hiding Buttons in HTML
« Reply #1 on: November 10, 2010, 07:43:19 AM »
Hi Charl,

your understanding is incorrect.
The correct approach is to create a form, with as many button fields as you like, and then add the browse to that form as well. Then it's trivial to hide an unhide fields.

Cheers
Bruce