开发者

asp:createuserwizard and c#

开发者 https://www.devze.com 2023-03-12 12:23 出处:网络
Is it possible to have 2 createuserwizard controls and call them dy开发者_JS百科namically? My situation is this:

Is it possible to have 2 createuserwizard controls and call them dy开发者_JS百科namically? My situation is this: 1. A web application has two types of users - "Client" and "Vendor". 2. They will each have their own separate registration process. 3. On the home page I want two different buttons - Button 1 is "Are you a Client", Button 2 is "Are you a Vendor" 4. Button 1 will load createuserwizard for Client 5. Button 2 will load createuserwizard for Vendor

That's it. How would I accomplish this?


The easiest way would be to have 2 separate registration page like VendorRegistration.aspx and ClientRegistration.aspx. You can also set the controls to visible=false and then set the one you want visible in the button click event.

0

精彩评论

暂无评论...
验证码 换一张
取 消