WebGrid not in quirks mode

7 replies. Last post: February 15, 2013 1:53 AM by Hans Kristian
Tags :
  • (None)

We are currently using WebGrid v7.0.7200.304.

IE currently renders in quirks mode and everything works fine, but if we want to render in IE8 standards

(<!-- DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" -->)  filters don't work right, css is messed up, a lot of issues.

Should this version work corrcetly in IE8 mode?  What is the latest version of your WebGrid?  This is an older application and I don't know if this is a new version of the grid or old version.


These problems also happen when we switched from Sharepoint 07 to Sharepoint2010.  SP07 renders in quirks mode because of no DocType but SP10 has a DocType so we are having similar issues with the WebGrid in our SP10 environment.  We want to use the DocType so our newer controls render correct.  Do you have any suggestions to make this work?


Please let me know if you need any other information.


Thanks.

All Replies

Hello,

By default, IE will render the webpage in quirks mode, if your webpage is using HTML doctype.

But if you want to render your webpage in standards mode, you should use XHTML doctype in your webpage.

Hope this helps. Thank you.

Regards,

Hans.

When I do this, there are still rendering problems. Autoheight, filters, columns alignment are all not working. Should these work for WebGrid v7.0.7200.304.

Hello,

I apologize for any inconvenience this problem may have caused you. Unfortunately, I can’t replicate your issue on my end.

Would you mind to tell me step-by-step How can I reproduce your issue.

Or if you don’t mind, could you attach your simple sample that indicate your issue? So I can analyze your issue.

Thank you.

Regards,

Hans

Hi Hans,

 

The problem is when we change from default.master that is a V3 in sharepoint 2010 to V4Master V4 Sharepoint 2010 the Webgrid fields are out of place, the fields data are not in the same place than the headers, and the filters do not work or they are broken, is this a version problem?  if you need a web session I can show you the problem.

Hello,

Thank you for reply.

In order to help you to resolve this issue, I need more detailed information about your current project.

What is your current WebGrid version? Do you have tried to use WebGrid v8 and the latest Framework version in your project?

Are you using HTML4 doctype as well?

If you don’t mind, could you please try to add “table-layout: fixed” CSS style in WebGrid container. Here’s the example snippet code:

<div style="table-layout:fixed;">
    <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="250px" UseDefaultStyle="true"
        Width="500px">
    </ISWebGrid:WebGrid>
</div>

I am looking forward for your reply. Thank you.

Regards,

Hans.

Hi Hans,

 

I did the change and attached a screen shot of the problem, look at the headers olumns and the data columns, they do not match, the version that we are using is 7.0.7200

Hello,

I've sent you a message on Tuesday, February 13, 2013. Please kindly check your inbox and let me hear your feedback/response.

Thank you.

Regards,

Hans.

All times are GMT -5. The time now is 7:02 AM.
Previous Next