Karan Dave

Karan Dave

  • NA
  • 4
  • 452

Help with create user wizard.

Nov 19 2017 3:58 AM
Hi I used a create user wizard control in asp.net and then added a new row for date of birth.
I added a calender with id cal1 and textbox (with id txtdob ) for entering the selected date in textbox.
Now i used to foll code to enter to select date of birth from calender.
 
protected void cal1_SelectionChanged1(object sender, EventArgs e)
{
txtdob.Text = cal1.SelectedDate.ToShortDateString();
}
 
But getting error that txtdob and cal1 does not exist in current context.
i.e. i am unable to access custom control that i added in create user wizard. 

Answers (1)