Hi,
I'm currently develop a report using UltraWebGrid. And I wanted to lock the columns like Excel did. I have succesfully lock the columns and upload my coding into server to run it. But weird thing happen, when under my debug mode using VS2005 the locking columns working well.. But when come to other Client want to access the report, it become overlap for the header and the datarow when scrolling to the from left to right..
Is this anything to do with the OS environment or my coding?
Here is my code:
Please do help if you know. Is urgent. Thanks.
Hello,
Which browser do you use? Is it ie8? Can you verify if when you debug it ie8 is in compatibility view and when you deploy, ie8 is in ie8 standards?
Also a screenshot would be useful.
Just trying to get the full picture. Thanks.
Yes, I'm using Internet Explorer 8. When debugging I'm not using Compatibility View as the Compatiblity View still available for click.
When running as client from server, I think is running as Compatibility View as there the word is grayed out, not able to select.
Is that any different in using Compatibility View? and how could this related to my code? And how could I able to control it to use Compatibility View via coding if user is using IE8.
Please do help . Thanks.
Sometimes IE in compatibility mode treats overflow differently. And when you run it in debug, it is by default in compatibility view. Everything may be ok once you deploy it.
Can you post a small sample? I can verify this theory of mine and give you a better answer. Thanks.
Hi Alex,
I'm able to counter it by getrid of one of line in my html coding. <!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->by the way, I'm still learn from this error about the Compatibility View. Thanks you for your help.
I have another question regarding the UltraWebGrid, could you please help me to look at this post if possible? http://community.infragistics.com/forums/p/49944/263025.aspx#263025
Thanks.
Thanks a lot Lchiny87,,,,you solve my problem,, by commenting below line and applying the code,it really works with IE8 compatibility mode.
comented line in aspx page :
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
Code apply in infraGridReport_InitializeLayout event in vb file:
e.Layout.UseFixedHeaders =
True
infraGridReport.Bands(0).Columns(0).Header.Fixed =
infraGridReport.Bands(0).Columns(1).Header.Fixed =
infraGridReport.Bands(0).Columns(2).Header.Fixed =
infraGridReport.Bands(0).Columns(3).Header.Fixed =
infraGridReport.Bands(0).Columns(4).Header.Fixed =