Hi All,
I'm working with an AJAX Control Toolkit Tab Control. Instead of writing my various forms in each tab panel, I'm creating Web User Controls to drop in place.
I'm referencing the System.Web.Security namespace. I can reference the Membership and MembershipUser classes just fine. But I'm trying to get the current User's ProviderUserKey and Visual Studio 2008 won't let me reference the User class. Is this normal?
My code is something like:
MembershipUser thisUser = Membership.GetUser(this.User.Identity.Name);
At compile, the Debug comes back with:
The name 'User' does not exist in the current context
Any suggestions?
Thanks
...
Go to the complete details ...