如何在运行时创建asp.net页面 [英] How to create asp.net Page at Run Time

查看:77
本文介绍了如何在运行时创建asp.net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击按钮时,请Plz帮助我如何在运行时创建asp页面...


.....所有人..

Plz help me how to create asp page at the run time when I click on button......


thanks ..........to all..

推荐答案

这只是一个令人困惑的问题.也许您真正需要的是使用动态局部视图.您可以在运行时生成部分视图的内容,然后将其返回,这可以解决问题.

除此之外,没有动态的ASP.NET页,因为每个ASP.NET页都有一个所谓的类隐藏.
It''s just a little confusing question. What you actually need, perhaps, is use of dynamic partial views. You can generate contents of a partial view at run time, and then return it, which should do the trick.

Other than that, there is not such thing as dynamic ASP.NET page, because every ASP.NET page has a so-called class-behind.


这篇关于如何在运行时创建asp.net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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