Hi,
We have a webhierachicaldatagrid within a webtab. Whenever a postback occured, the grid streched longer and had some rendering issues.
We were able to fix this by setting EnableAjax as false. However, now when we migrate from one tab to the other, the grid is again stretching to almost 10 times it's original width. Kindly help us fix this issue.
Thanks & Regards,
Udhaya
Hi Maya,
<ig:webtab runat="server" id="wt" width="100%" selectedindex="0" taborientation="Horizontal" tablocation="TopLeft" enableoverlappingtabs="false" enableactivation="true" tabmoving-enabled="true" contentpane-autosize="false">
<Tabs>
<ig:ContentTabItem runat="server" Text="Project" TabCssClasses-ImageCssClass="ClientTabs">
<Template>
<asp:UpdatePanel ID="upGrid" runat="server" UpdateMode="Conditional" EnableViewState="true">
<ContentTemplate>
<asp:Panel runat="server" ID="pnlBA">
<div onpaste="browserPaste(event)">
<ig:WebDataGrid ID="WdgBA" runat="server" Width="100%" AutoGenerateColumns="False" DataKeyFields="ProjectId" DataSourceID="Sds" EnableAjax="false">
<clientEvents KeyUp="keyUp" />
</ig:WebDataGrid>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
</Template>
</ig:ContentTabItem>
</Tabs>
<tabMoving enabled="True"/>
</ig:webtab>
This is what we have done. All these are inside an update panel, including the webtab.
The grid appears on a button click. when the button is clicked, the grid is stretched very long like one column's width is around 1000px. Then on a postback or refresh, it comes back to normal size.
We are in a position to fix this as soon as possible. Thanks in advance.
Regards,
Hello Udhaya,
Could you share the mark-up you have for the page? What properties and settings do you have for the grid and web tab?
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
This EnableAjax=False doesn't help always. Still we are getting the issue occasionally.
The issue is, the grid expands to infinite length. And then on some postback, it retains its normal size.
This is happening when the grid is within a webtab.
The issue is resolved. Had to give EnableAjax = "false" for every ig grid.
Thanks,
We are using Infragistics 12.1. But we had this issue while using 11.2 as well.
This issue is irrespective of the browser. Let me know if you need some sample code or something.