<div runat="server" id="divHoldScroll" style="overflow:scroll;width:100%;position:relative;">
<table cellpadding="0" border="0" cellspacing="0" width="100%">
<td style="width:100%" class="InnerContent" valign="top" align="left">
<DisplayLayout ViewType="OutlookGroupBy"
ScrollBar="Never" ExpandableDefault="NotSet" FrameStyle-CustomRules="table-layout:fixed;"
IndentationDefault="0" CellPaddingDefault="0" AutoGenerateColumns="false" GroupByRowDescriptionMaskDefault="[value]"
Version="3.00" ColFootersVisibleDefault="Yes" NoDataMessage="No data to be displayed."
StationaryMargins="HeaderAndFooter" HeaderClickActionDefault="SortSingle" RowSelectorsDefault="No" RowStyleDefault-BackColor="#f0f0e8">
Helo,
UltraWebGrid is a complex control and rendering depends on many properties. While I am not sure why exactly overflow:hidden is used and which property triggers it (or it is always on), I guess the grid expects to take care of scrolling itself (you can use the built-in Grid scrolling by using the FrameStyle collection). Is using the built-in scrolling acceptable in your scenario?
I can also suggest a "hack" - but I am not sure if this will not affect some other functionaliity of the grid. You can run a custom function in body.onload of the page, get the element of the grid using document.getElementById and remove the hidden overflow of the element.
<body onload="fixOverflow()">
Meanwhile, I will continue searching if there is an option we can use to remove the hidden overflow and will let you know if I find something.
HTH
Thanks!!
It was actually another style attribute that caused the behavior, but along the same lines. I put in some javascript that overwrote the style to "visible". I don't like hard coding the id in there, but it'll work for now. Now I just need the scrollbar to work in Firefox...
{
Patrick
Cool. Glad I was able to help.
If you wish to avoid hardcoding the ID, you can use the following javascript syntax:
...
var element = document.getElementById("<%= ServerID.ClientID %>");
element.style.overflow = "visible";