Earn Cash from forex trading and free 5$ for Regiatation.

Sunday, September 21, 2008

get rid of scrollbars and set maximum width and height in UltraWebGrid

You can make a WebGrid display with no scrollbars, and fit its height and width to the size of the browser.

this.ultraWebGrid1.Width = Unit.Percentage(100);
this.ultraWebGrid1.Height = Unit.Percentage(100);
this.ultraWebGrid1.DisplayLayout.FrameStyle.CustomRules = "table-layout:auto";

0 comments: