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. how to handle mouse events in asp.net

how to handle mouse events in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
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.
  • S Offline
    S Offline
    sarang121
    wrote on last edited by
    #1

    can any one tell how to handle mouse events in asp.net....

    V 1 Reply Last reply
    0
    • S sarang121

      can any one tell how to handle mouse events in asp.net....

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      You can do it using client scripts (JavaScript).

      Castle Rider

      What if I freeze??? Don't forget to breath...

      My: Website | Yahoo Group | Blog Spot

      S 1 Reply Last reply
      0
      • V Venkatesh Mookkan

        You can do it using client scripts (JavaScript).

        Castle Rider

        What if I freeze??? Don't forget to breath...

        My: Website | Yahoo Group | Blog Spot

        S Offline
        S Offline
        sarang121
        wrote on last edited by
        #3

        i am using a datalist and want to check single or double click when an button is present in it.

        modified on Monday, November 3, 2008 9:59 PM

        V 1 Reply Last reply
        0
        • S sarang121

          i am using a datalist and want to check single or double click when an button is present in it.

          modified on Monday, November 3, 2008 9:59 PM

          V Offline
          V Offline
          Venkatesh Mookkan
          wrote on last edited by
          #4

          You can handle the single click through ASP.NET itself. Just edit the template and double click the button, it automatically takes you to the codebehind. Double click can be handled through JavaScript only. Since you need both, better handle both through JavaScript and fire the Postback from the client script.

          Castle Rider

          What if I freeze??? Don't forget to breath...

          My: Website | Yahoo Group | Blog Spot

          S 2 Replies Last reply
          0
          • V Venkatesh Mookkan

            You can handle the single click through ASP.NET itself. Just edit the template and double click the button, it automatically takes you to the codebehind. Double click can be handled through JavaScript only. Since you need both, better handle both through JavaScript and fire the Postback from the client script.

            Castle Rider

            What if I freeze??? Don't forget to breath...

            My: Website | Yahoo Group | Blog Spot

            S Offline
            S Offline
            sarang121
            wrote on last edited by
            #5

            can u give example for it by using code ???

            1 Reply Last reply
            0
            • V Venkatesh Mookkan

              You can handle the single click through ASP.NET itself. Just edit the template and double click the button, it automatically takes you to the codebehind. Double click can be handled through JavaScript only. Since you need both, better handle both through JavaScript and fire the Postback from the client script.

              Castle Rider

              What if I freeze??? Don't forget to breath...

              My: Website | Yahoo Group | Blog Spot

              S Offline
              S Offline
              sarang121
              wrote on last edited by
              #6

              can i use any windows API like user32.dll for cheking mouse click event(single click or double click)..

              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