G
Guest
Can some one please tell me why I keep getting an error saying user has not
been declared when I add the following to a class usercontrol.
User.Identity.Name
If it is the page class then there is no problem!!!
EG:
Inherits System.Web.UI.Page = OK
Inherits System.Web.UI.UserControl = Doesn't work
Can you sue the page class in a usercontrol??? How do I solve this???
Thanks
been declared when I add the following to a class usercontrol.
User.Identity.Name
If it is the page class then there is no problem!!!
EG:
Inherits System.Web.UI.Page = OK
Inherits System.Web.UI.UserControl = Doesn't work
Can you sue the page class in a usercontrol??? How do I solve this???
Thanks