Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Header column and grid column are not visible.
posted

Hi,
I am using ultrawebtab and ultrawebgrid control.
I have multiple databases and i want to show data of each database in a webgrid.
I am using ultrawebtab control which shows data of different databases in different tabs.
I am using usercontrol which contains ultrawebgrid.
Following is the code to add tab at runtime and assign grid to that tab.

Infragistics.WebUI.UltraWebTab.Tab tab = new Infragistics.WebUI.UltraWebTab.Tab("KOALA2");

                        this.UltraWebTab1.Tabs.Add(tab);
                        tab.ContentPane.UserControlUrl = "WebUserControl.ascx";

                       
                        WebUserControl UC1;
                        UC1 = (WebUserControl)tab.ContentPane.UserControl;
                        ugList  = (UltraWebGrid)UC1.FindControl("ugMachineList");

I have added column headers and i want to fix first two column of grid.
Following is the code in InitializeLayout event of grid.

e.Layout.StationaryMargins = StationaryMargins.Header;

e.Layout.UseFixedHeaders = true;
e.Layout.Bands[0].Columns.FromKey("SiteName").Header.Fixed = true; e.Layout.Bands[0].Columns.FromKey("Machine/Brand").Header.Fixed = true;

But when i used UseFixedHeaders = true, in that case i cannot see the headercolumn and grid column in second tab.

Please find attached the screenshot which itself explain the problem.
Please let me know if any other details are needed.
Please revert it ASAP.

I am using Firefox for this application.


Regards

Tab2.zip