IE10 parser message about StyleSheetManager generated </link> tags

2 posts, 0 answers
  1. Henry
    Henry avatar
    5 posts
    Member since:
    Aug 2012

    Posted 12 Aug 2013 Link to this post

    We're using Telerik version 2013.1.417.35. We've got an application with some very old page templating code (that we don't want to change out right now)

    The input code is 
    <body>
        <!-- this is in the page template ascx vv-->
        <form id="frmMain" method="post" runat="server">
            <!-- Henry thinks Telerik added this above ^^-->
        <div id="pagemiddle">
    ...
    and the generated code seen in IE10 is

    <body>
        <!-- this is in the page template ascx-->
        <form name="frmMain" method="post" action="login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="frmMain">
    <div>
    <input type="hidden" name="Header_ScriptMgr_TSM" id="Header_ScriptMgr_TSM" value="" />
    <input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="..." />
    </div>
     
    <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['frmMain'];
    if (!theForm) {
        theForm = document.frmMain;
    }
    function __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }
    }
    //]]>
    </script>
     
     
    <script src="/UnifiedLogin/WebResource.axd?d=Cr6NY1haBII3CUWgTf-vRxkAVYzK1FJ6XORbJp5zHXYb1faJ2WnIXBUQYE-i4nGMszzp_Bd8NNpxf0uVdI32lDKWS0A1&t=635019945069635093" type="text/javascript"></script>
     
    <link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=wu2-nH7iwSqT0TgvbyKgs_V6_TYA07BnX7YMX1qIIJuR4HyrpazOmoyBpnzlHOjhD1V1ffDT6dYFcYuP8e6q5HEg7UksZaSHMz-hLiqrRrp70O690UMQGVfLo2BOoWglTxXwoQ2&t=635088861486377646'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=GQ8da8vrWIHNQT0th0xfR3MyDFSTWwp_KKoQ9v7jpSqtcaJ8oN5X4iiDUx0DBfKjb2McbL21Oipj5GiIi_lljQ7uCEMc1-03RZQSZQFMw_D62MwFQkNAVXtdr7eQ0tLQOVOZYuOuYyxf08jSv92AeO9X58Q1&t=635088861486377646'></link>
    <script src="/UnifiedLogin/WebResource.axd?d=SNhGNua5bytowQD_ES8ruTO4SCXXbtwK-lJPxXcl8mOmp64T4XpO5IObsf1rP-ugdukaf6Id84UYZkzqgspHp55pLaY1&t=635019945069635093" type="text/javascript"></script>
    <script src="/UnifiedLogin/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=Header_ScriptMgr_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ab4491a8b-c094-46c4-848c-d2a016749dfa%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.1.417.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab193e46e-1615-44ae-93b4-e80e222e7ddb%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3af46195d3%3a19620875%3a490a9d4e%3abd8f85e4" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
    //]]>
    </script>
     
    <script src="/UnifiedLogin/WebResource.axd?d=7qErcjeF3n7l-8Wtuwpfpl7dhaTO2Ezy-juh8r8wV2DMMv8roIP3UK5joLMFD8KoeAp0921xSW-aYXt5_rjRc2aMox41&t=635019945069635093" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    function WebForm_OnSubmit() {
    if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
    return true;
    }
    //]]>
    </script>
     
    <div>
     
        <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="..." />
    </div>
            <!-- Henry thinks Telerik added this above ^^-->
        <div id="pagemiddle">


    The IE10 console says
    HTML1512: Unmatched end tag. 
    login.aspx, line 66 character 267
    HTML1512: Unmatched end tag. 
    login.aspx, line 66 character 561

    Line 66 is the link tags:

    <link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link>


    Is there anything that we can do here?  The </link> is not strictly necessary under IE10/HTML5.  The page has doctype XHTML; but changing that doesn't fix the parsing message.
  2. Henry
    Henry avatar
    5 posts
    Member since:
    Aug 2012

    Posted 12 Aug 2013 Link to this post

    Adding the

    <head runat="server">

    fixed my problem.  Should have tried that, except it seemed unrelated.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top