Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
Disable horizontal scrolling in WebCombo?
posted

I've been searching around for a way to do this and have so far been unsuccessful.  How can I go about removing/disabling the horizontal scrollbar from the webcombo? 

I'm attempting to make the WebCombo look & feel like a normal asp drop down list so it only contains one column and I don't care if some of the information gets cut off.

Does anyone know how to accomplish this?

Parents Reply
  • 190
    posted in reply to Alanna

    Hi  alannaw,

    In http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/

    under  DropDownLayout Property for Infragistics35.WebUI.WebCombo.v10.1, I saw this:

           //Gets the underlying grid in the WebCombo
           
    UltraWebGrid myGrid = WebCombo1.Controls[0] as
    UltraWebGrid;
          
           
    //Displays only vertical scroll bars in the drop-down
           
    myGrid.DisplayLayout.ScrollBarView = ScrollBarView.Vertical;

    For full qualification of the UltraWebGrid, use:

    Infragistics.WebUI.UltraWebGrid.

    UltraWebGrid myGrid

     

    For full qualification of the Vertical property use:

     

    Infragistics.WebUI.UltraWebGrid.

    ScrollBarView.Vertical;

    Mike

     

Children
No Data