Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Enable asp menu with javascript

Enable asp menu with javascript

Scheduled Pinned Locked Moved ASP.NET
csharpjavascript
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dptalt
    wrote on last edited by
    #1

    My page uses an asp .net menu that is not enabled like this:

    K A 2 Replies Last reply
    0
    • D dptalt

      My page uses an asp .net menu that is not enabled like this:

      K Offline
      K Offline
      Kaushal Arora
      wrote on last edited by
      #2

      Hi, You are using it correctly but just one mistake you have made is making the Menu disabled in server side. Use Rather than `Because when you make a control disable from server side you will not be able to get it from client side. Also try using getElementById only in place of getElementByIdWithReplaceCheck if it does not work out. Hope it Helps. Regards, Kaushal Arora`

      D 1 Reply Last reply
      0
      • K Kaushal Arora

        Hi, You are using it correctly but just one mistake you have made is making the Menu disabled in server side. Use Rather than `Because when you make a control disable from server side you will not be able to get it from client side. Also try using getElementById only in place of getElementByIdWithReplaceCheck if it does not work out. Hope it Helps. Regards, Kaushal Arora`

        D Offline
        D Offline
        dptalt
        wrote on last edited by
        #3

        After adding

        1 Reply Last reply
        0
        • D dptalt

          My page uses an asp .net menu that is not enabled like this:

          A Offline
          A Offline
          April Fans
          wrote on last edited by
          #4

          <p>Hi,</p><p>Try this: <font face="Verdana">getElementByIdWithReplaceCheck("ctl00_Menu1").visibility= false;<br /></font></p><p><font face="Verdana">hope this helps.</font></p>

          April Comm100 - Leading Live Chat Software Provider

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups