Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个.aspx页面。它有一些按钮和下拉控件。
.aspx
假设我点击了一个特定的按钮,然后它必须重定向到我们必须动态生成的页面。这个动态生成的页面当然会有动态控件和事件。所以基本上我想知道的是如何.aspx在点击现有页面的按钮时生成这个新页面,以及如何在生成页面的代码后面添加动态控件。
这样做的一种方法:
如何动态创建 ASPX 页面 - A Step Ahead 系列?
不过听起来不太好。
用什么File.Create来创建aspx文件,然后response.redirect("newAspx file");
File.Create
response.redirect("newAspx file");