如何自定义silverlight业务应用程序的注册页面?
当您使用 VS2010 创建 silverlight 4 业务应用程序时,默认情况下您将获得登录和注册页面。我需要自定义注册页面,添加更多字段。我该怎么做?提前致谢。
When you create a silverlight 4 business application, using VS2010, by default you will get a login and registration page. I need to customize the registration page, to add more fields. How do I do that? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
生成的 Web 项目有一个名为
BusinessApplication.Web.RegistrationData
的类,您可以修改该类以包含更多字段。然后在 Silverlight 应用程序的客户端生成相同的类,并且 RegistrationForm 上使用的 DataForm 控件将自动检测RegistrationData
类中的字段。The Web project generated has a class called
BusinessApplication.Web.RegistrationData
, which you can modify to include more fields. This same class is then generated on the client side for the Silverlight App, and the DataForm control used on the RegistrationForm will automatically detect the fields in theRegistrationData
class.