Can someone please help me with this.
I can't access the tag properties in the user control.
I did this
Control UserControl1 =LoadControl("signupForm1.ascx");
PlaceHolderSignupPhone.Controls.Add(UserControl1);
It works fine.
But I cant access the tag properties in the user control.
All I have in the signupForm1.ascx file is asp textboxes, checkBoxes and Dopdownlist items.
I just want to access their properties when a onClick event get the value of the TextBox.
I get an error saying
"The type or namespace name 'phoneNo1' could not be found"
Where phoneNo1 is a TextBox ID.
It would be great if anyone can help me with this.
Thanks
I can't access the tag properties in the user control.
I did this
Control UserControl1 =LoadControl("signupForm1.ascx");
PlaceHolderSignupPhone.Controls.Add(UserControl1);
It works fine.
But I cant access the tag properties in the user control.
All I have in the signupForm1.ascx file is asp textboxes, checkBoxes and Dopdownlist items.
I just want to access their properties when a onClick event get the value of the TextBox.
I get an error saying
"The type or namespace name 'phoneNo1' could not be found"
Where phoneNo1 is a TextBox ID.
It would be great if anyone can help me with this.
Thanks