Drop down in asp.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amol

    Drop down in asp.net

    Hi ,
    I am developing an appl'n in c# and asp.net.My prob is I have a
    dropdown filled with certain values. Now i need if the user click on
    the dropdown the "dropdown menu " of the combo should get enlarge ie.
    teh text in it should get bigger but not the actual combox size should
    get affected.
    Can anybody suggest me on this

    Thanx in Adv
    Amol

  • David Jessee

    #2
    RE: Drop down in asp.net

    you could all the script:

    onchange="this. style.fontWeigh t=bold"

    (via the control's attributes)

    problem is, it will affect all of the options in the control.
    Only way around it would be to set the style on each othe the control's
    options...tedio us, but doable (at least in IE)

    "Amol" wrote:
    Hi ,
    I am developing an appl'n in c# and asp.net.My prob is I have a
    dropdown filled with certain values. Now i need if the user click on
    the dropdown the "dropdown menu " of the combo should get enlarge ie.
    teh text in it should get bigger but not the actual combox size should
    get affected.
    Can anybody suggest me on this
    >
    Thanx in Adv
    Amol
    >
    >

    Comment

    • Amol

      #3
      Re: Drop down in asp.net

      hi
      Thanx for the solution.But my prob is differenet .I dont want to amek
      the items bold or sonething.
      My requirement is when I click on teh dropdownlist it shows the item
      list i want that item list to be wider that the size of dropdownlist
      control.
      can u suggest anything.
      David Jessee wrote:
      you could all the script:
      >
      onchange="this. style.fontWeigh t=bold"
      >
      (via the control's attributes)
      >
      problem is, it will affect all of the options in the control.
      Only way around it would be to set the style on each othe the control's
      options...tedio us, but doable (at least in IE)
      >
      "Amol" wrote:
      >
      Hi ,
      I am developing an appl'n in c# and asp.net.My prob is I have a
      dropdown filled with certain values. Now i need if the user click on
      the dropdown the "dropdown menu " of the combo should get enlarge ie.
      teh text in it should get bigger but not the actual combox size should
      get affected.
      Can anybody suggest me on this

      Thanx in Adv
      Amol

      Comment

      Working...