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. tooltip style as balloon for asp.net textbox control

tooltip style as balloon for asp.net textbox control

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
5 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
    Deepml
    wrote on last edited by
    #1

    I want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.

    L G 2 Replies Last reply
    0
    • D Deepml

      I want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.

      L Offline
      L Offline
      Laddie
      wrote on last edited by
      #2

      There is a validator call out control that comes with ajax control toolkit http://asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx[^] or you can create a div and show it when ever you required near to the text box

      Thanks Laddie Kindly rate if the answer was helpful

      D 1 Reply Last reply
      0
      • L Laddie

        There is a validator call out control that comes with ajax control toolkit http://asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx[^] or you can create a div and show it when ever you required near to the text box

        Thanks Laddie Kindly rate if the answer was helpful

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

        Thanks for reply.. But i dont want to validate the control.I want simple tooltip for textbox.

        L 1 Reply Last reply
        0
        • D Deepml

          I want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.

          G Offline
          G Offline
          gnjunge
          wrote on last edited by
          #4

          Try: http://www.google.com/search?q=javascript+balloon+tooltip&rls=com.microsoft:en-US&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1[^] I found a lot. Use one of those script, and you can build a custom control around it if you like , that gets as one of the properties the control it has to bind to.

          1 Reply Last reply
          0
          • D Deepml

            Thanks for reply.. But i dont want to validate the control.I want simple tooltip for textbox.

            L Offline
            L Offline
            Laddie
            wrote on last edited by
            #5

            Then why not create a div and put your content in that. eg:

            Your tool tip content

            (you may apply a background image or some more css to make it to the shape you want) now create two functions to show and hode this div function showToolTip() { document.getElementById("MytoolTip).style.visibility = "visible"; document.getElementById("MytoolTip").style.left = event.clientX+"px"; document.getElementById("MytoolTip").style.top = event.clientY+ "px"; } function hideToolTip() { document.getElementById("MytoolTip).style.visibility = "hidden"; } //Now register this two functions for your text box Hope this helps Thanks Laddie Kindly rate if the answer was helpful

            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