Ошибка блока Ajax - блок {0} не содержит веб-ресурс с именем {1}

Я видел, что это зарегистрировалось как исправленная ошибка в RC1. Но я нашел изменение, которое, кажется, вызывает твердое, утверждают отказ рендеринга. Вовлекает эти два стиля во вложенную таблицу.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Test</title>
    <style type="text/css">
    .calendarBody
    {
        overflow: scroll;
        max-height: 500px;
    }
    </style>
</head>
<body>
    <table>
    <tbody>
        <tr>
        <td>
            This is a cell in the outer table.
        <div class="calendarBody">
            <table>
                <tbody>
                <tr>
                    <td>
                    This is a cell in the inner table.
                </td>
                    </tr>
            </tbody>
                </table>
        </div>
        </td>
    </tr>
    </tbody>
</table>
</body>
</html>
5
задан MPelletier 12 September 2013 в 18:16
поделиться

1 ответ

Добавьте эту строку кода в свой файл AssemblyInfo.cs

[assembly: System.Web.UI.WebResource("MyAssembly.MyScript.js", "text/javascript")]
16
ответ дан 18 December 2019 в 10:46
поделиться
Другие вопросы по тегам:

Похожие вопросы: