ASP.Net 4在按钮单击事件上创建Web表单。 [英] ASP.Net 4 Create web form on button click event.

查看:100
本文介绍了ASP.Net 4在按钮单击事件上创建Web表单。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到这种情况,请有人解释我如何在代码中在asp.net 4.0(vwd 2010)中创建新的Web表单。我的意思是,每当用户点击按钮时,应该创建一个新的Web表单,它应该像其他Web表单一样保存在同一个Web项目中,并且应该具有母版页的属性。我应该能够在代码中确定页面的ID。感谢您的帮助。

I am stuck at this situation, Please can someone explain me how do I create a new web form in asp.net 4.0 (vwd 2010) in code. I mean that whenever a user clicks a button a new web form should be created it should be saved in same web project like other web forms and should have properties of a masterpage. I should be able to determine the id of the page in code. Thanks for any help.

推荐答案

我需要这个原因我想要建立一个会员网站。应该是这样的。每当新用户使用createuserwizard在我的站点中注册时,应创建具有masterpage属性的新页面。下次用户登录我的网站时,他应该被定向到之前创建的同一页面。请帮帮我。
I need this cause I am tying to make a membership site. It should be this way. Whenever a new user registers in my site using createuserwizard a new page should be created having properties of masterpage. And next time the user login's to my site he should be directed to same page that was created earlier. Please help me very urjent.


这篇关于ASP.Net 4在按钮单击事件上创建Web表单。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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