UI布局初始化警告,布局容器"undefined #container"未定义没有身高. [英] UI Layout Initialization Warning ,the layout-container "undefined #container" has no height.

查看:713
本文介绍了UI布局初始化警告,布局容器"undefined #container"未定义没有身高.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


错误消息是"UI布局初始化警告,布局容器未定义#container"没有高度.

我只在Firefox和Chrome中收到此错误.整个页面不可见.
这是示例代码.

Hi All


The error message is "UI Layout Initialization Warning ,the layout-container "undefined #container" has no height.

I get this error only in firefox and chrome. The entire page is not visible.
here is the sample code.

<script type="text/javascript">
                   var prm = Sys.WebForms.PageRequestManager.getInstance();
                   prm.add_initializeRequest(InitializeRequest);
                   prm.add_endRequest(EndRequest);
                   function InitializeRequest(sender, args) {
                   }
                   function EndRequest(sender, args) {
                       $(document).ready(function() {
                           $("#tabs").tabs();
                       });
                   }
                   </script>

推荐答案

(document).ready(function(){
(document).ready(function() {


(#tabs").tabs() ; }); } < /script >
("#tabs").tabs(); }); } </script>


这篇关于UI布局初始化警告,布局容器"undefined #container"未定义没有身高.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆