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. Tool tip for combobox..., [modified]

Tool tip for combobox..., [modified]

Scheduled Pinned Locked Moved ASP.NET
csharphtmltutorialquestion
4 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.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi in my html page i have one combobox..., In that i have list of values..., Its showing the tooltip after select the value from that combobox..., But i like to show when the user click that combo and he will go line by line records that time i like to show each and every record tooltip..., Not only for html control combo,if its possible in dropdownlist(.net control) also no probs, How to do that?, Urgent need hlp me..., -- modified at 1:12 Tuesday 4th September, 2007

    Regards, Magi

    R 1 Reply Last reply
    0
    • M Member 3879881

      Hi in my html page i have one combobox..., In that i have list of values..., Its showing the tooltip after select the value from that combobox..., But i like to show when the user click that combo and he will go line by line records that time i like to show each and every record tooltip..., Not only for html control combo,if its possible in dropdownlist(.net control) also no probs, How to do that?, Urgent need hlp me..., -- modified at 1:12 Tuesday 4th September, 2007

      Regards, Magi

      R Offline
      R Offline
      R Palanivel
      wrote on last edited by
      #2

      Hi Please specify your combobox's "Auto postback" property is true or not? if true u can write code in code behind otherwise u can do it from Javascript. I Have another question is it ur control is combo or ListBox ? beacause listbox only have multi selection Regards R.Palanivel

      r_palanivel83 10:01 4 Jan '06

      M 1 Reply Last reply
      0
      • R R Palanivel

        Hi Please specify your combobox's "Auto postback" property is true or not? if true u can write code in code behind otherwise u can do it from Javascript. I Have another question is it ur control is combo or ListBox ? beacause listbox only have multi selection Regards R.Palanivel

        r_palanivel83 10:01 4 Jan '06

        M Offline
        M Offline
        Member 3879881
        wrote on last edited by
        #3

        In any mode, I need that tooltip for each items..., May be postback also no probs or in javascrip also no probs, Plz send me -- modified at 1:59 Tuesday 4th September, 2007

        Regards, Magi

        R 1 Reply Last reply
        0
        • M Member 3879881

          In any mode, I need that tooltip for each items..., May be postback also no probs or in javascrip also no probs, Plz send me -- modified at 1:59 Tuesday 4th September, 2007

          Regards, Magi

          R Offline
          R Offline
          R Palanivel
          wrote on last edited by
          #4

          Add this code on "Page Load" DropDownList1.Attributes.Add("onchange","fnToolTip()"); ---------------- Add this javascript code on HTML Code view function fnToolTip() { selIndex=document.getElementById("DropDownList1").selectedIndex selValue=document.getElementById("DropDownList1").value // alert(selValue) document.getElementById("DropDownList1").title=selValue } ------------------- Add this code on Body ITEM1 ITEM2 ITEM3 ITEM4 -------------------- Try this should work fine Regards R.Palanivel r_palanivel83 10:01 4 Jan '06

          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