CreateUserWizard control: forcing it to use a programmatically provided username and e-mail - Ken Fine

29-Apr-08 03:27:49
I am using ASP.NET's CreateUserWizard control. I want to force the visitor
to use a username and e-mail address that I am providing in programming, and
I do not want the visitor to be able to edit the forms input.

I am aware that I can roll my own Create User form by using the membership
API, but I am lazy and want to use most of the CreateUserWizard control's
features.

I tried converting the form to a template and setting the UserName and Email
forms to Enabled="false" and populating their values programmatically. The
client-side validation behaviors prevent this from working: the non-enabled
items get red asterisks on input.

I imagine I could set the value for the names/e-mails in programming
regardless of the user's input, but I want to cue the visitor that they are
not allowed to change these values from what I am specifying.

Suggestions?

Thanks,
-KF
reply
CreateUserWizard control: forcing it to use a programmatically provided username and e-mail - Ken Fine 29-Apr-08
        Re: CreateUserWizard control: forcing it to use a programmatically provided username and e-mail - Ken Fine 29-Apr-08
        SOLVED i think Re: CreateUserWizard control: forcing it to use a programmatically provided username and e-mail - Ken Fine 29-Apr-08
                RE: SOLVED i think Re: CreateUserWizard control: forcing it to use a programmatically provided username and e-mail - stchen 29-Apr-08

401 While Accessing Web Service
  

Search

search




Purchase