Hi all,
I have a page with 2 UltraWebGrids. The web site uses an IG predefined style set.
Apparently when the 1st grid has a custom template column defined, the data rows in the 2nd grid receive css header classes and are displayed as if they were grid header rows. I'm uncertain why one grid affects the other, and why having a custom column in one grid causes this behavior in the another grid.
The workaround I had to use was to place a template column in the 2nd grid too, with Width="0". Note the following picture which shows the bug on the left and the workaround on the right. Note that "My Column" is the custom column of the 1st grid (top grid), and the Filename is an autogenerated column of the 2nd grid (bottom grid).
Here's the code. If I uncomment the template column in the 2nd grid, the problem is "worked around":
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <asp:ScriptManager runat="server"> </asp:ScriptManager> <ig:UltraWebGrid runat="server" ID="grid"> <DisplayLayout AutoGenerateColumns="false"> </DisplayLayout> <Bands> <ig:UltraGridBand> <Columns> <ig:TemplatedColumn> <Header Caption="My Column"> </Header> <CellTemplate> </CellTemplate> </ig:TemplatedColumn> </Columns> </ig:UltraGridBand> </Bands> </ig:UltraWebGrid> <br /> <ig:UltraWebGrid runat="server" ID="results"> <DisplayLayout AutoGenerateColumns="true"> </DisplayLayout> <%--<Bands> <ig:UltraGridBand> <Columns> <ig:TemplatedColumn Width="0"> <Header Caption=" " /> </ig:TemplatedColumn> </Columns> </ig:UltraGridBand> </Bands>--%> </ig:UltraWebGrid> </form></body></html>
Hi. I am having the same problem with you, and your work around worked, except that my 2nd grid has a child band and the cells in this child band are still not working properly. (Style sheet is not applied to them at all). I added a fake template column to the chind band like I did to the parent band, but it did not work. (I hoped it would...) I am wondering if you or Infragistics support know how to handle this issue.
Sorry, but I don't have a resolution for you. Perhaps IG will reply with a solution. However, you should bare in mind that AFAIK they are dropping their support for older components such as UltraWebGrid, so I really don't know if they'll provide it.
You could try switching to a different grid, or manipulating their grid in the client using jQuery.
Thank you for your reply. I am going to see other options to achieve my requirement. Thanks!
Hello ewolfman and mgmtakahashi ,
I know it has been a while since you posted your issue but if you’re still in need of assistance I’d be glad to offer some.
I’ve attempted to reproduce your issue but was unable to. Could you let me know which version of our controls you’re using and also which release version?
It would also be helpful if you could let me know against which browsers does the issue reproduce. I’m also attaching a sample for your reference.
Also as a side note. Infragistics is not actually dropping the support for the Ultra controls. They’re just retired since the newest version 11.2 but their support for earlier version is still available.
The “ultra” controls will be maintained with regular service releases for version 11.1 until the normal expiration of the maintenance period which is around 1 year after the release of 11.1. Also the support for those products continues as always for 3 years after the release. For more information on this please refer to our product life cycle page:
http://es.infragistics.com/support/product-lifecycle.aspx#ProductLifecycle\
I'm looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support