How to customize registration page for silverlight business application?
When you create a silverlight 4 business ap开发者_运维百科plication, 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.
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 the RegistrationData
class.
精彩评论