I am currently working with registration snippet in Umbraco.
I have a question, within the snippet, it says about a redirect Url, I have tried several and got errors. What is a format or what I am missing?
`registerModel.RedirectUrl` - Optional. What path to redirect to if registration is successful.
By default the member will be redirected to the current umbraco page
unless this is specified.
This is what says in the code.
I tried this format to no avail:
Error loading Partial View (file: ~/Views/MacroPartials/RegisterMember.cshtml). Exception: System.Web.HttpCompileException (0x80004005): c:\inetpub\wwwroot\aafa\Views\MacroPartials\RegisterMember.cshtml(19): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
Any help would be appreciated.
Thanks
Matthew Berner
Registration Snippet question
I am currently working with registration snippet in Umbraco. I have a question, within the snippet, it says about a redirect Url, I have tried several and got errors. What is a format or what I am missing?
This is what says in the code. I tried this format to no avail:
This generates an error msg:
Any help would be appreciated. Thanks Matthew Berner
You have a semicolon in your url. Maybe that’s the problem?
-Tor
No I tried that to no avail
Where are you setting the RedirectUrl? it works on my computer if I do:
that did work Thanks
is working on a reply...