Hello Dear
Im facing a strange problem with "our" webgrid. The situation is as following;
The grid has about 20-30 Columns and has lets say 200 rows. (the rows arent important for the sample).The grid has its full size and the IExplorer 7 shows the scrollbars. Now;I scroll right and double click on a cell. Then I edit the value and confirm by enter or through clicking on a other place in the grid, the left side of the grid gets cut off (the whole stuff that was invisible due to the scrollbar) and I cant scroll to the left side of the grid.
Do "regenerate" I resize my whole IExplore Window in the width to get the whole grid viewed, now i can see the whole grid correctly until i re-edit a value when scrolled --> then it gets cut off again.
I tried to review the HTML which was really hard, but I think there were Band elements (the responding HTML tags) with a negative position (left=-30px).
We don't do much things on the grid at clientside via javascript and I can not reproduce this behavior with a standard WebGrid with lots of columns. So it depends on our implementation.
@Edit: The grid also contains bands
Do you have any idea what this behavior can cause, or any idea for me to abridge the possible error sources?The only way to provide you a sample would be to send you the serialized XML because I cant give sample datas until i know where the problem comes from...
Thanks for your help
Here is my Tabletag in the HTML;
<TABLE onmouseup="igtbl_tableMouseUp(event,'UG1');" class="" onmousemove="igtbl_tableMouseMove(event,'UG1');" id=UG1_main onresize="igtbl_onResize('UG1');" style="OVERFLOW: hidden; POSITION: relative" cellSpacing=0 cellPadding=0 border=0>
Is it possible to tell the grid to not use onmouseup or onmousemove or onresize?I dont need theese eventhandler, maybe they are causing problems...
Hello again
Im just trying to not scroll with the IE and let the grid scroll. So I have to set "style:overflow:scroll" to the ultrawebgrid.I did not see a responding property in display layout and the webgrid seems to not like style tags in the markup.
Can please somebody help me to apply this style to the grid (in Markup, or through Properties or whereever).
Thanks
We finally figured out that the DOCTYPE tag was causing it. When we created the page in Visual Studio, it added:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
But, because of a bug in AJAX, you still need the DOCTYPE tab when your web.config is set to debug=true. So, we just comment out the tag when in release mode.
Hi,
We are experiencing the same problem with our ultrwebgrid. We are using 2008 volume 3 with Framework 3.5.
We are also seeing the column cutoff at the end. Strangly, if we put
<
above the <!DOCTYPE> then we are not seeing the column cutoff but the lines on the grid did not line up correctly. We have a fixed column on the left and when we scroll, in front of fixed column instead of behind.
As explained in this thread we tried to put "style:overflow:scroll" on the display layout but we could not find where to put.
If anyone could please help us?
Thank you,
Suresh
Hello,
That was a tricky one, thanks for sharing the solution in public forums, I am sure that other developers will find this useful.
I just found the problem, there were some styles in our theming that caused the grid/IE7 to scroll wrong, there were the folowing definitions which caused this really strange behavior;
html{overflow:auto;}
and
body{overflow:hidden;}