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?
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:
ScrollBarView.Vertical;
Mike
Unfortunately I never figured it out so we stripped it from our project because it just didn't look or work right. It was too long ago now too so I don't remember what I had tried already, otherwise I could at least let you know what didn't work!
Good luck Mike!
If you figure it out, you should post it on here for other people...
I also came across the need for this.
Did you discover how to do it?
Mike Steiner