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. context menu on webpage

context menu on webpage

Scheduled Pinned Locked Moved ASP.NET
csharphelptutorial
6 Posts 2 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
    dalbhide bipin
    wrote on last edited by
    #1

    hi I am showing my data on webpage thro gridview. I want to add context menu in it. I dont know how to do it. I m doing my project in vs2005 using C# lang. plz help guys.

    S 1 Reply Last reply
    0
    • D dalbhide bipin

      hi I am showing my data on webpage thro gridview. I want to add context menu in it. I dont know how to do it. I m doing my project in vs2005 using C# lang. plz help guys.

      S Offline
      S Offline
      Swapnil Piparia
      wrote on last edited by
      #2

      Hi bipin, Following Microsoft Cutting edge article shows good example with source code on context menu but only limitation is, this context menu is running in IE not in firefox. http://msdn.microsoft.com/msdnmag/issues/05/02/CuttingEdge/

      Regards, Swap.

      D 1 Reply Last reply
      0
      • S Swapnil Piparia

        Hi bipin, Following Microsoft Cutting edge article shows good example with source code on context menu but only limitation is, this context menu is running in IE not in firefox. http://msdn.microsoft.com/msdnmag/issues/05/02/CuttingEdge/

        Regards, Swap.

        D Offline
        D Offline
        dalbhide bipin
        wrote on last edited by
        #3

        swap i know that link... but they used readymade option overthere called contextmenu.. how can i get that menu? i hve not seen that in my gridview property.. i think that contextmenu is custom control.

        S 1 Reply Last reply
        0
        • D dalbhide bipin

          swap i know that link... but they used readymade option overthere called contextmenu.. how can i get that menu? i hve not seen that in my gridview property.. i think that contextmenu is custom control.

          S Offline
          S Offline
          Swapnil Piparia
          wrote on last edited by
          #4

          Bipin, You are right, it is custom control. But to put it in to gridview you can add it in to cell during databind method. But it will not feasible to put it in all cell, so if you have functionality to put it in one column or particular cell than it will work. and if you want to add to whole grid than you need to develop custom control and for that javascript context menu will help you, this menu attaches with any html element in case of gridview(table), and popup on right click of that particular html element. http://www.dynamicdrive.com/dynamicindex1/jsdomenu/index.htm

          Regards, Swap.

          D 1 Reply Last reply
          0
          • S Swapnil Piparia

            Bipin, You are right, it is custom control. But to put it in to gridview you can add it in to cell during databind method. But it will not feasible to put it in all cell, so if you have functionality to put it in one column or particular cell than it will work. and if you want to add to whole grid than you need to develop custom control and for that javascript context menu will help you, this menu attaches with any html element in case of gridview(table), and popup on right click of that particular html element. http://www.dynamicdrive.com/dynamicindex1/jsdomenu/index.htm

            Regards, Swap.

            D Offline
            D Offline
            dalbhide bipin
            wrote on last edited by
            #5

            thanks man.. ur absolutly right.. i m thinking abt javascript... i think it is little bit lenthy process.. i wil see the link . thanks

            S 1 Reply Last reply
            0
            • D dalbhide bipin

              thanks man.. ur absolutly right.. i m thinking abt javascript... i think it is little bit lenthy process.. i wil see the link . thanks

              S Offline
              S Offline
              Swapnil Piparia
              wrote on last edited by
              #6

              Hi Bipin, I just surf around and got this link on codeproject itself may be it helps you. http://www.codeproject.com/aspnet/dynamenu.asp

              Regards, Swap.

              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