iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
With the 7.0.7200.405 version of the WebGrid, it appears that the columns are not alinging.
I tested with IE 6, Windows XP
A colleague of mine told me that with the WebGrid version 7.0.7200.405 the Grouping & hierarchical alignment was supposed to be resolved.
My page is using DOCTYPE XHTML 1.1
Below is a sample for a test grid.
<IsNet:WebGrid ID="OwGrid1" AutoFitColumns="false" AllowPaging="false" runat="server" OnInitializeDataSource="Countries_InitializeDataSource" AllowColumnMoving="true" AllowGrouping="true" AllowSorting="true" HideColumnsWhenGrouped="false" AllowFilter="true" GridMode ="Edit" EditOnClick="true" InProgressUIBehavior="ChangeCursorToHourGlass" ResourceId="Label_Countries" UseDefaultStyle="true" DefaultStyleMode="Elegant"> <RootTable DataKeyField="CountryID"> <Columns> <IsNet:WebGridColumn Name="CountryName" Caption="Name" DataMember="CountryName" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Width="50" /> <IsNet:WebGridColumn Name="Ranking" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Ranking" DataMember="Ranking" Width="80" /> <IsNet:WebGridColumn Name="Status" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Status" DataMember="Status" Width="80" /> <IsNet:WebGridColumn Name="Population" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Population" DataMember="Population" Width="80" /> <IsNet:WebGridColumn Name="CityCount" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="CityCount" DataMember="CityCount" Width="50" /> <IsNet:WebGridColumn Name="Race" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Race" DataMember="Race" Width="50" /> <IsNet:WebGridColumn Name="Economy" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Economy" DataMember="Economy" Width="50" /> <IsNet:WebGridColumn Name="Politics" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Politics" DataMember="Politics" Width="50" /> <IsNet:WebGridColumn Name="TotalTax" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="TotalTax" DataMember="TotalTax" Width="50" /> <IsNet:WebGridColumn Name="Currency" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Currency" DataMember="Currency" Width="50" /> <IsNet:WebGridColumn Name="Location" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Location" DataMember="Location" Width="50" /> <IsNet:WebGridColumn Name="Reference" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Reference" DataMember="Reference" Width="50" /> <IsNet:WebGridColumn Name="Capital" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Capital" DataMember="Capital" Width="50" /> <IsNet:WebGridColumn Name="Sport" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" DataMember="Sport" Width="50" /> <IsNet:WebGridColumn Name="Creed" Caption="Creed" DataMember="Creed" Visible="false" Width="50" /> <IsNet:WebGridColumn Name="Leader" Caption="Leader" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" DataMember="Leader" Width="50" Visible="false" /> <IsNet:WebGridColumn Name="Type" GroupRowInfoFormat="Total by [caption] : [value] - Gross Premium: [sum(NetPremiumAndCommissionsAmount)] Net Premium: [sum(NetPremiumAmount)] Tax: [sum(TotalTaxAmount)] Commission: [sum(TotalCommission)]" Caption="Type" DataMember="Type" Width="50" Visible="false" /> <IsNet:WebGridColumn IsRowChecker="true" Name="RowChecker" /> </Columns> </RootTable> <LayoutSettings AllowFilter="Yes" AllowGrouping="Yes" GroupByBoxVisible = true AllowEdit="Yes" AllowSorting="Yes" AllowColumnSizing="Yes" PagingMode="ClassicPaging"> </LayoutSettings> </IsNet:WebGrid>
.............................
protected void Countries_InitializeDataSource( object sender, DataSourceEventArgs e ) { e.DataSource = GetCountries(); } private List<TestCountry> GetCountries() { var country = new TestCountry() { CountryID = "1", CountryName = "Greece", Ranking = "1", Status = "Active", Population = "500000" }; var country2 = new TestCountry() { CountryID = "2", CountryName = "Kenya", Ranking = "2", Status = "Active", Population = "1340000" }; var country3 = new TestCountry() { CountryID = "3", CountryName = "Mali", Ranking = "3", Status = "Active", Population = "55550000" }; var country4 = new TestCountry() { CountryID = "4", CountryName = "Honduras", Ranking = "4", Status = "Active", Population = "333000" }; var country5 = new TestCountry() { CountryID = "5", CountryName = "Norway", Ranking = "5", Status = "Active", Population = "122100000" }; return new List<TestCountry>() { country, country2, country3, country4, country5 }; }
Hello,
Could you provide me a simple working sample that replicates your issue?
Try to use Transitional as the DocType and see whether the issue still occurs.
You might want to update your hotfix build using Update Manager which is located in "[Installation Folder]\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\UpdateManager\ISNet.WebUI.UpdateManager.exe"
Hope this helps.
Thank you.
He just gave you an example and Setting the Doctype to transitional is NOT AN OPTION. You are suppose to support xhtml.
this is the original email regarding the issue, Please speak with Glenn or Gordon:
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Friday, September 03, 2010 12:42 AMTo: Guillermo MontesCc: 'Gordon'; Annick Kossaras; Bing Chen; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
HI Guillermo,
Based on my test for the fix on the nightly build the issue has been resolved. If you would like, you could test the fix yourself using the nightly build which you could download from http://www.intersoftpt.com/tdn/downloads/WebGridNET7_0_7200_405.zip
As of this writing the nightly build is being uploaded to the server.
The fix is scheduled to be release on the next hotfix. Some issue and instability is to be expected when using nightly build. The purpose of this nightly build is to test the fix for the Grouping misalignment in IE7.
Regards,
Glenn Layaar
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Thursday, September 02, 2010 12:20 PMTo: 'Guillermo Montes'Cc: 'Gordon'; 'Annick Kossaras'; 'Bing Chen'; 'Adam Davis'Subject: RE: Hierarchical CSS Issue with XHTML
Hi Guillermo,
My direct supervisor is Gordon and he is already informed about this issue.
A fix has been available in the nightly build. I will need some time to test the fix. I will inform you about the test result in a few days.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: Thursday, September 02, 2010 1:18 AMTo: Glenn LayaarCc: 'Gordon'; Annick Kossaras; Bing Chen; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Hi Glenn,
I know Adam Davis was doing the follow-up for this issue, but I’d like the contact for your supervisor to get an estimate for this fix or at least a workaround. Your XHTML support has been out since 2009 R1, we’re now in the 2010 R1 version and it’s still lacking. Getting this one fix is critical.
Guillermo Montes
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Tuesday, August 31, 2010 11:39 PMTo: Guillermo MontesCc: 'Gordon'; Annick Kossaras; Bing Chen; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
We are very sorry that the issue also occurs in Grouping scenario. The submitted bug report only cover hierarchical grid, based on this report I have reopen the bug report so it will also include grouping scenario.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: Wednesday, September 01, 2010 2:41 AMTo: Glenn LayaarCc: 'Gordon'; Annick Kossaras; Bing Chen; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Hi Glenn/Gordon,
This is still broken. I originally got the latest builds (the ones not in the Update Manager: WebGrid 404 and Framework 755) from some threads in the forum to test this, but now I even got 2010 R1 to test this.
· Columns alignment in hierarchical layouts.
· Columns alignment in flat layouts with grouping.
This screenshot comes straight from your 2010 R1 C# Samples project for WebGrid7 (Grouping.aspx page). To break it you just need to change the master page to the xhtml master.
Take Grouping.aspx and change MasterPageFile="DefaultMaster.master" to MasterPageFile="DefaultMasterXHTML.master" group by any field and expand the groups.
I’m using XP SP3 with IE7… and I’ve tried the sample in both VS2008 and VS2010.
You mentioned this fix was scheduled for this release.
Regards
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Monday, August 30, 2010 4:36 PMTo: Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
The latest WebGrid 7 and WebUI Framework released with 2010 R1 is build 404 and 755 respectively. However, our update server have not been updated with the latest build from 2010 R1, in order to get the 2010 R1 build you will need to install WebUI 2010 R1 and retrieve the latest build from the installation folder.
We always suggest to update the WebUI framework as well if there is a new build of WebUI Framework when you update an Intersoft component.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: Tuesday, August 31, 2010 4:26 AMTo: Glenn LayaarCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
Hey Glenn/Gordon,
I need to give the current version a try to see if this was fixed, last time you mentioned Adam that this ui bug was scheduled.
In order to install WebGrid 7.0.7200.403…
Do I need Web UI Framework 3.0.5000.753?
Thanks
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Tuesday, May 18, 2010 5:45 AMTo: Guillermo MontesCc: 'Gordon'; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Our WebUI Studio 2010 R1 release is delayed and now is scheduled for late May 2010. That also means that the scheduled fix is also delayed, and now is scheduled for mid June 2010 at the earliest.
We are very sorry for the delay.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: Tuesday, May 18, 2010 2:45 AMTo: Glenn LayaarCc: 'Gordon'; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Any news on this fix? Last time you mentioned that a hotfix was scheduled for mid May.
Guillermo
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Monday, April 19, 2010 2:14 AMTo: Adam Davis; Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
Hi Adam,
The issue is still open, I was informed that our developer is focusing on WebUI Studio 2010 R1 release scheduled for late April 2010. A fix for this issue is scheduled for mid May 2010 and it will be released as a hotfix.
From: Adam Davis [mailto:adamd@oceanwide.com] Sent: Saturday, April 17, 2010 12:48 AMTo: Glenn Layaar; Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
We’re still waiting of course, do you know if this is in queue for a fix? Will this be packaged in a hotfix or a service pack?
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Wednesday, April 07, 2010 2:29 AMTo: Adam Davis; Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
I just re-inquiry our developer regarding the progress of this issue. Currently this is still an open issue and our developer is still in the process of analyzing and creating the fix.
Unfortunately, I still do not have an estimation on the fix release date.
From: Adam Davis [mailto:adamd@oceanwide.com] Sent: Wednesday, April 07, 2010 2:26 AMTo: Glenn Layaar; Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
Glenn, Why have we not received an update? Your communications have to be better with us.
We don’t want to regret choosing intersoft over the competition. If you haven’t found a solution yet it’s fine, but we need to be updated. We deal with fortune 500 clients and we can’t afford to not provide answers to our clients.
Adam Davis Development Team Lead | Oceanwide
87 Prince St., 6th Floor, Montreal, QC, H3C 2M7, Canada
tel: 514-289-9090 x237 | fax: 514-289-1909 | adamd@oceanwide.com
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Sunday, March 28, 2010 10:14 PMTo: Guillermo MontesCc: 'Gordon'; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Thank you for the sample project. I have successfully replicate the issue in IE7. A bug report has been submitted to our developer. We will inform you if there is any update or progress regarding this issue.
Unfortunately we do not have any workaround if you wish to use the XHTML doctype. Our suggestion, until the fix is ready is if possible please use the HTML doctype.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: Saturday, March 27, 2010 12:58 AMTo: Glenn LayaarCc: 'Gordon'; Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
I made this small project to show the issue. I’m attaching two screenshots as well:
Hierarchicial.jpg is the grid with my IE running version.
WebUIBuildNumber.jpg show I’m using WebUI build 752 and WebGrid 402, the only issue I see is that even when after I drop and re-add the reference, the version # is different on VS (it still says build 1) and on the Windows Explorer. I’m getting the dlls straight from their respective bin folders in Program Files\Intersoft Solutions.
From: Glenn Layaar [mailto:glenn@intersoftpt.com] Sent: Thursday, March 25, 2010 10:07 PMTo: Guillermo MontesCc: 'Gordon'Subject: RE: Hierarchical CSS Issue with XHTML
I have tested the scenario in our HierarchicalGrid.aspx sample, changing the master page to DefaultMasterXHTML. We could not replicate the misalignment issue in our environment. Attached is the result page in my environment
Please make sure that you already update your WebGrid 7 and WebUI Framework 3 to the latest build, which is build 402 and build 752 respectively. Please also confirm that the project bin folder of the project your are running, in this case the WebGrid sample, already contains the WebGrid 7 build 402 and WebUI Framework 3 build 752.
From: Guillermo Montes [mailto:GuillermoM@oceanwide.com] Sent: 26 March 2010 02:30To: Guillermo Montes; 'Gordon'; Glenn LayaarCc: Adam DavisSubject: RE: Hierarchical CSS Issue with XHTML
Hi,
Just for clarification purposes. I just ran the update manager and I tried this again with WebGrid 7.0.7200.402, the issue still remains.
Guillermo Montes Senior Developer | Oceanwide
tel: 514-289-9090 x288 | fax: 514-289-1909 | GuillermoM@oceanwide.com
From: Guillermo Montes Sent: Thursday, March 25, 2010 2:53 PMTo: 'Gordon'; 'Glenn Layaar'Cc: Adam DavisSubject: Hierarchical CSS Issue with XHTML
Hi Gordon/Glenn,
We’re currently building our CSS classes for the grids we will be using and we found an issue with the hierarchical mode (flat grids look fine). The row height looks odd and the columns are not properly aligning. This is only the case for the XHTML doctype (which is supposed to be supported by R2). You can quickly test this with the Hierarchical.aspx sample included in the WebGridSamples project for R2… just change the MasterPageFile attribute of the @Page directive to use the xhtml master:
MasterPageFile="DefaultMasterXHTML.master"
I’m attaching some screenshots…
Hierarchical-HTML.jpg is using the default MasterPage (with the HTML4.0 doctype) and everything looks fine.
Hierarchical-XHTML.jpg is using the XHTML Master.
Do you have a workaround for this? Changing the doctype is not an option for us. This was tested using R2 with IE7.
Thanks,
I have confirmed with Glenn regarding this issue. He said that this issue has been resolved in WebGrid 7 build 405. This build hotfix has been tested using IE7 browser.
I'm afraid that we no longer support IE6 browser.
Based on your previous inquiry, you were testing WebGrid with IE7 as well. Therefore, we have made an enhancement to WebGrid in order to support XHTML DocType in IE7 browser.
Can you please try with the code provided in the first post above, the problem still occurs in IE7, IE8....
I have tried your sample and it works fine on my end. The columns are well-aligned when WebGrid is using XHTML DocType.
I'm currently using build 418 for WebGrid when I tested the sample.
I have attached a screenshot for your reference.
We are going to release the latest hotfix build 418 by today. However, here is the link to download the nightly-build hotfix if you need to test your project.
http://www.intersoftpt.com/tdn/downloads/WebGridNET7_0_7200_418.zip
Thanks Martin, I'll try and let you know.
Wait that image is an ungrouped grid, did you try grouping?
Hello Adam,
Yes, the grouping works fine. However, your sample will show an error when I group since I don't have your database, but the layout is fine.
You could try our sample on Grouping.aspx sample for your reference.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname