How can I increase the DropDownWidth of a dropdownlist at runtime?

Discussion in 'ASP .Net' started by =?Utf-8?B?U2FpcmE=?=, Oct 4, 2005.

  1. I m working in asp.net using C#, I want a dropDownList , in which the drop
    down

    WIDTH is Flexible , Depending on the item whose width is the greatest.
    ACTUAL WIDTH OF DROP DOWN

    REMAIN

    FIXED, ONLY the WIDTH of the drop down window changes acording to the max

    WIDTH of item it contains ,
    in simple words ...
    need the Facility of DropDownWidth Property in web application.. This
    property

    applies only for Windows Forms.

    I need some similar solution for this without creating usercontrols..

    http://msdn.microsoft.com/library/en-us/dnwinforms/html/bettercombobox02.gif
     
    =?Utf-8?B?U2FpcmE=?=, Oct 4, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?U2FpcmE=?=

    Bruce Barker Guest

    no html control supports this. you will have to write, buy or download one.
    the implementaion is a textbox, a clickable image(s), a div for the
    dropdown, and a some client script to tie it together.

    -- bruce (sqlwork.com)


    "Saira" <> wrote in message
    news:...
    > I m working in asp.net using C#, I want a dropDownList , in which the
    > drop
    > down
    >
    > WIDTH is Flexible , Depending on the item whose width is the greatest.
    > ACTUAL WIDTH OF DROP DOWN
    >
    > REMAIN
    >
    > FIXED, ONLY the WIDTH of the drop down window changes acording to the max
    >
    > WIDTH of item it contains ,
    > in simple words ...
    > need the Facility of DropDownWidth Property in web application.. This
    > property
    >
    > applies only for Windows Forms.
    >
    > I need some similar solution for this without creating usercontrols..
    >
    > http://msdn.microsoft.com/library/en-us/dnwinforms/html/bettercombobox02.gif
    >
    >
    >
     
    Bruce Barker, Oct 4, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. anupam
    Replies:
    4
    Views:
    883
    Allan Herriman
    Sep 3, 2004
  2. vdicarlo
    Replies:
    7
    Views:
    303
    Terry Reedy
    Jun 9, 2007
  3. Peter Larsen [CPH]

    ComboBox DropDownWidth

    Peter Larsen [CPH], Sep 30, 2008, in forum: ASP .Net
    Replies:
    6
    Views:
    2,384
    Steven Cheng
    Oct 7, 2008
  4. Replies:
    0
    Views:
    234
  5. mike
    Replies:
    2
    Views:
    485
Loading...

Share This Page