I am displaying 3 tabs within a webTab with each being populated via a user control. The default tab(0) contains a webgrid and renders correctly. Tab(2) also contains a webgrid, but it's render is all wrong. The first column displays only with a;ll others not present or all of the columns are stacked behind one another. This only occurs within a FireFox browser. How can I correct this or is there a way to load on demand the tab value utilizing a user control.
Vince,
I have a similar issue. Is this the same?
I have a WebGrid that has problems displaying any rows in Internet Explorer 7. When that happens, and the mouse is moved over it, there is a JavaScript error on the "onmousemove" event of the grid. "Object expected." (onmousemove="igtbl_tableMouseMove(event,'dnnxctr881xViewCAxUserManagementxuwgPocList')") Also, IF the grid loads with its initial data, I am updating it by selections made in dropdownlists, using AJAX. It is necessary to make 3 or 4 selections on the dropdownlists before the grid will load with new data. Once it does, then it works fine from that point on. I am using FixedMargins="Header." I turned this off. No change. None of these issues appear in Firefox. Everything works great in FF.
As you suggested in your post above, I entered a support request for this. Case number CAS-21938-NARMQH.
If this is related to Development Issue 11815, what is the progress on this?
According to the markup you've posted, your grid is indeed using stationary margins.
I've found the similar issue I was thinking about. The symptoms are slightly different in that issue - in this case, the rows weren't appearing at all. This other issue was reproduced in Internet Explorer, rather than Firefox. That issue was determined to be a bug and will be fixed in an upcoming hot fix. (By the way, if anyone reading this is interested in this fix, I suggest submitting a support request and referring to development issue 11815.)
This will likely take some additional research to determine if the issue you're encountering is the same one I was thinking, a different issue that can be fixed by making some changes to your code, or is possibly a new issue that may require a fix in our controls. I suggest you submit a new support request so that a Developer Support Engineer can assist you further. Since we're not entirely certain what's causing this behavior, I suggest you attach to this new support request a concise sample application that we can run and debug and which reproduces the issue.
Here's the Grid aspx Definition:
<igtbl:UltraWebGrid ID="grdPrevention" runat="server" EnableViewState="false" OnInitializeLayout="grdPrevention_InitializeLayout" OnInitializeRow="grdPrevention_InitializeRow" >
<Bands>
<igtbl:UltraGridBand>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
<Columns>
<igtbl:UltraGridColumn BaseColumnName="PreventionID" Hidden="True" Key="PreventionID">
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="Source" Hidden="True" Key="Source">
<igtbl:UltraGridColumn Key="test" BaseColumnName="test" Width=30%>
<Header Caption="Screening Test">
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
</Footer>
<igtbl:UltraGridColumn BaseColumnName="risk" Key="risk" Width=25%>
<Header Caption="Health Risk" Title="">
<RowLayoutColumnInfo OriginX="2" />
<igtbl:UltraGridColumn BaseColumnName="testurl" Hidden=true Key="testurl">
<igtbl:UltraGridColumn BaseColumnName="riskurl" Hidden=true Key="riskurl">
<igtbl:UltraGridColumn BaseColumnName="freq" Hidden=true Key="freq">
<Header Caption="Frequency" Title="">
<igtbl:UltraGridColumn BaseColumnName="LastChk" Format="MM/dd/yyyy" Key="LastChk" Width=10%>
<Header Caption="Last Checked" >
<RowLayoutColumnInfo OriginX="3" />
<HeaderStyle HorizontalAlign=center />
<CellStyle HorizontalAlign=Center></CellStyle>
<igtbl:UltraGridColumn BaseColumnName="NextChk" Format="MM/dd/yyyy" Key="NextChk" Width=10%>
<Header Caption="Next Check" >
<igtbl:UltraGridColumn BaseColumnName="ToDo" Key="ToDo" Width=25%>
<Header Caption="What I should do" >
</Columns>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AllowColSizingDefault="Free" Name="ctl00xgrdPrevention" RowSelectorsDefault="No" CellClickActionDefault=RowSelect
SelectTypeRowDefault="Single" TableLayout="Fixed" NoDataMessage="Your Checkup list is empty."
Version="4.00" AutoGenerateColumns="False" StationaryMargins="Header" RowHeightDefault="30px" RowsRange="4">
<GroupByBox Hidden="True">
</GroupByBox>
<ActivationObject BorderColor="Black" BorderStyle="solid" BorderWidth="">
</ActivationObject>
<RowStyleDefault BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px"
ForeColor="Black">
<BorderDetails ColorLeft="White" ColorTop="White" />
<Padding Left="3px" />
</RowStyleDefault>
<SelectedRowStyleDefault BackColor="#ffcc66" ForeColor="Black">
</SelectedRowStyleDefault>
<HeaderStyleDefault BackColor="#0063A1" BorderColor="Black" BorderStyle="Solid" Font-Bold="True"
Font-Names="Arial" Font-Size="12px" ForeColor="White">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</HeaderStyleDefault>
<RowAlternateStyleDefault BackColor="#DDDDDD">
<BorderDetails ColorLeft="197, 202, 219" ColorTop="197, 202, 219" />
</RowAlternateStyleDefault>
<FrameStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Cursor="Default"
Width="100%">
</FrameStyle>
</DisplayLayout>
</igtbl:UltraWebGrid>
Are you using stationary margins, fixed headers, or both, on the grid on the second tab? I recall something similar, and since it'll take some digging to find the details, I'd like to confirm what's happening first.