简体   繁体   English

如果页面 abc.aspx 包含用户控件,如何使用更新面板?

[英]How to work with update panel, if the page abc.aspx contains usercontrols?

I have a web page abc.aspx using this page like master page, in this page i wrote a Html tag iframe using this i frame as content place holder.我有一个网页 abc.aspx 使用这个页面就像母版页,在这个页面中我写了一个 Html 标签 iframe 使用这个 i 框架作为内容占位符。

I'm calling home.aspx page in this iframe tag.我在这个 iframe 标签中调用 home.aspx 页面。

in my home.aspx page i have some user-control.在我的 home.aspx 页面中,我有一些用户控制。 So , My question is所以,我的问题是

how can i able to implement the update panel in this scenario please tell me the solution.我怎样才能在这种情况下实现更新面板,请告诉我解决方案。

Thank You, Gorus.谢谢你,戈鲁斯。

After commenting the xhtmlConformance tag in web.config, update panel working normally.在 web.config 中注释 xhtmlConformance 标签后,更新面板正常工作。

<system.web>
    <xhtmlConformance mode="Legacy" />
</system.web>

please refer below link.... http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx请参考以下链接.... http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax。 aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在server.execute(“ ../../ abc.aspx”)之后,如何在我的第一页上获得控件。 我必须在server.execute()之后显示警报 - how can I to get controls back on my first page after server.execute(“../../abc.aspx”). I have to show an alert after server.execute() 将主页从default.aspx更改为abc.aspx - Changing the homepage from default.aspx to abc.aspx 如何将一个aspx页面放在另一个aspx页面的更新面板中 - how to place an aspx page inside update panel of another aspx page 我可以使用javascript将Admin-&gt; abc.aspx重定向到rootfolder-&gt; index.aspx吗? - Can I redirect the Admin->abc.aspx to rootfolder->index.aspx using javascript? 更新面板和用户控件 - Update panel and usercontrols java 脚本中 `Response.Redirect(“~/abc.aspx”) 的等效代码是什么? - What is the equivalent code of `Response.Redirect(“~/abc.aspx”) in java script? 使用jQuery ajax在母版页中加载后,带有更新面板的aspx页不起作用 - aspx page with update panel not work after load in master page with jQuery ajax 如何在内容或更新面板中加载aspx - How to load aspx inside content or update panel 如何在同一.aspx页面上使用两个更新面板 - How to work with two update panels on same .aspx page 来自ASPX页面中的UserControls的访问控制 - Access Controls from UserControls in ASPX page
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM