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. Dialog auto-resize

Dialog auto-resize

Scheduled Pinned Locked Moved Web Development
question
3 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.
  • A Offline
    A Offline
    awedaonline
    wrote on last edited by
    #1

    Hello guys; I pop a dialog which contains two select (dropdownlist) controls. I use the first one to filter the second select. My challenge is, whenever the second select width increases as a result of the data it contains, an horizontal scrollbar appears on the dialog which I don't want because, it disorganizes my form's appearance. What do I need to do to auto-size the dialog's width as the width of the second select increases and shrinks as the case may be? Thanking you guys in advance for the prompt response.

    R 1 Reply Last reply
    0
    • A awedaonline

      Hello guys; I pop a dialog which contains two select (dropdownlist) controls. I use the first one to filter the second select. My challenge is, whenever the second select width increases as a result of the data it contains, an horizontal scrollbar appears on the dialog which I don't want because, it disorganizes my form's appearance. What do I need to do to auto-size the dialog's width as the width of the second select increases and shrinks as the case may be? Thanking you guys in advance for the prompt response.

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

      You can put the form in the div tag and set the horizontalscrollbar to true and verticalscrollbar to none.

      A 1 Reply Last reply
      0
      • R Rockstar_

        You can put the form in the div tag and set the horizontalscrollbar to true and verticalscrollbar to none.

        A Offline
        A Offline
        awedaonline
        wrote on last edited by
        #3

        Thank you for the response. It helped me.

        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