Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I know it's a silly question I'am trying to do this in my template.
but it show error's.
What did I missed?
Hi Glen,
Nice question.
Where do you user this code?
In Razor view - it works for me:
var membershipHelper = new MembershipHelper(UmbracoContext.Current);
Thanks,
Alex
Hi Alex,
Thanks for the response Yes in razor I forgot to import this, silly me.
is there any other approach for this? my VS2012 is not showing any hint.
Hi Glen
Do you have a problem with intellisense in VS?
Am I right?
Thanks
Yeah you're right I will update my razor to the latest version.
Again a big Thanks.
Glen
Glen, you are welcome!
If this topic solved?
Have a nice day!!!
Yes already solved Thank you so much
for you time.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Error occurred when instantiating a MembershipHelper
Hi,
I know it's a silly question I'am trying to do this in my template.
but it show error's.
What did I missed?
Hi Glen,
Nice question.
Where do you user this code?
In Razor view - it works for me:
Thanks,
Alex
Hi Alex,
Thanks for the response Yes in razor I forgot to import this, silly me.
is there any other approach for this? my VS2012 is not showing any hint.
Hi Glen
Do you have a problem with intellisense in VS?
Am I right?
Thanks
Hi Alex,
Yeah you're right I will update my razor to the latest version.
Again a big Thanks.
Glen
Glen, you are welcome!
If this topic solved?
Have a nice day!!!
Hi Alex,
Yes already solved Thank you so much
for you time.
Glen
is working on a reply...