是否可以在Web用户控件中使用Asp [英] IS it possible to use Asp inside the web user control

查看:72
本文介绍了是否可以在Web用户控件中使用Asp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Web用户控件中使用Asp

IS it possible to use Asp inside the web user control

推荐答案

您是说System.Windows.Forms.WebBrowser控件吗?

ASP.NET在服务器上运行,因此不能,您不能仅将ASP.NET源加载到WebBrowser控件中.浏览器对ASP.NET一无所知,它只是呈现HTML.

尼克
Do you mean the System.Windows.Forms.WebBrowser control?

ASP.NET runs on a server, so no, you cannot just load ASP.NET source into a WebBrowser control. The browser does not know anything about ASP.NET, it just renders HTML.

Nick


这篇关于是否可以在Web用户控件中使用Asp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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