Click here to Skip to main content
15,890,609 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: [newbie] binding anomaly Pin
Christian Graus3-May-09 13:20
protectorChristian Graus3-May-09 13:20 
GeneralRe: [newbie] binding anomaly Pin
jon-803-May-09 19:47
professionaljon-803-May-09 19:47 
QuestionAre "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
Member 3653373-May-09 7:15
Member 3653373-May-09 7:15 
AnswerRe: Are "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
Christian Graus3-May-09 13:24
protectorChristian Graus3-May-09 13:24 
Questionexecution of remote file Pin
sarav883-May-09 6:57
sarav883-May-09 6:57 
AnswerRe: execution of remote file Pin
Christian Graus3-May-09 13:27
protectorChristian Graus3-May-09 13:27 
QuestionMembership - creating a user and sending an email Pin
Member 54067793-May-09 6:22
Member 54067793-May-09 6:22 
QuestionRe: Membership - creating a user and sending an email Pin
Member 54067793-May-09 12:06
Member 54067793-May-09 12:06 
More detail...

For example, my code is like this:

CreateUserWizard cuw = new CreateUserWizard();
cuw.UserName = "freddy";
cuw.Email = "myemail@somewhere.com";
cuw.MailDefinition.From = "myemail@somewhereelse.com";
cuw.MailDefinition.Subject = "New Account";
cuw.MailDefinition.BodyFileName = "~/body.txt";
cuw.AutoGeneratePassword = true;
cuw.LoginCreatedUser = false;
cuw.RequireEmail = true;

WizardStep step = new WizardStep();
step.StepType = WizardStepType.Start;
step.Title = "Create User Step";
step.ID = "CreateUserStep";

CompleteWizardStep cws = new CompleteWizardStep();
cws.ID = "wsCompletedStep";

cuw.WizardSteps.Add(step);       
cuw.WizardSteps.Add(cws);

cuw.MoveTo(cuw.WizardSteps[0]);
cuw.MoveTo(cuw.WizardSteps[1]);


So I only have two steps, one to create the user and send the email and the other to complete the wizard.

I run this code but nothing happens. Is it even possible to use the control like this? It would be great if I can because it saves me so much effort writing methods to send email and utilise an external text file as the email body plus all the error handling the CreateUserWizard has.
Questionaccess compare Pin
sarav883-May-09 6:13
sarav883-May-09 6:13 
AnswerRe: access compare Pin
Christian Graus3-May-09 13:35
protectorChristian Graus3-May-09 13:35 
QuestionSend SMS to single number Pin
Sujay chakraborty3-May-09 5:01
Sujay chakraborty3-May-09 5:01 
QuestionPlease Help Me for Print Pin
mohanbalal3-May-09 3:23
mohanbalal3-May-09 3:23 
AnswerRe: Please Help Me for Print Pin
Deshbir Singh3-May-09 4:19
Deshbir Singh3-May-09 4:19 
GeneralRe: Please Help Me for Print Pin
mohanbalal3-May-09 4:37
mohanbalal3-May-09 4:37 
AnswerRe: Please Help Me for Print Pin
saanj3-May-09 20:51
saanj3-May-09 20:51 
Question[newbie] nested struct? Pin
jon-803-May-09 2:49
professionaljon-803-May-09 2:49 
AnswerRe: [newbie] nested struct? Pin
Dave Doknjas3-May-09 11:04
Dave Doknjas3-May-09 11:04 
GeneralRe: [newbie] nested struct? Pin
jon-803-May-09 11:07
professionaljon-803-May-09 11:07 
QuestionCallin button event placed in grid view footer Pin
Jagz W2-May-09 22:12
professionalJagz W2-May-09 22:12 
AnswerRe: Callin button event placed in grid view footer Pin
saanj3-May-09 20:53
saanj3-May-09 20:53 
QuestionI want to control some hardware by internet Pin
rashed.info2-May-09 21:37
rashed.info2-May-09 21:37 
AnswerRe: I want to control some hardware by internet Pin
Christian Graus3-May-09 13:49
protectorChristian Graus3-May-09 13:49 
AnswerRe: I want to control some hardware by internet Pin
saanj3-May-09 20:57
saanj3-May-09 20:57 
Questionc# web map manipulation Pin
flyingbaobao2-May-09 20:42
flyingbaobao2-May-09 20:42 
AnswerRe: c# web map manipulation Pin
Jay Clark8623-Oct-09 4:27
Jay Clark8623-Oct-09 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.