I am using Umbraco version 7.15.7 assembly: 1.0.7706.20570
and created the Partial View Macro from sample snippets EditProfile
to test basic member profile update.
When I run the sample (template calls the macro), on Save it redirects to the Home page ( "/") automatically, even when member is logged in just fine.
I cant find the controller code for this sample, to check why its doing it.
Would appreciate if someone can shed some light on the above.
On related note: Trying to understand the basic backend logic, inline with the above, where the redirect path gets decided or similarly; where ProfleUpdateSuccess gets set
var success = TempData["ProfileUpdateSuccess"] != null;
Controller for EditProfile Macro snippet
I am using Umbraco version 7.15.7 assembly: 1.0.7706.20570
and created the Partial View Macro from sample snippets EditProfile
to test basic member profile update.
When I run the sample (template calls the macro), on Save it redirects to the Home page ( "/") automatically, even when member is logged in just fine.
I cant find the controller code for this sample, to check why its doing it.
Would appreciate if someone can shed some light on the above.
On related note: Trying to understand the basic backend logic, inline with the above, where the redirect path gets decided or similarly; where ProfleUpdateSuccess gets set
var success = TempData["ProfileUpdateSuccess"] != null;
is working on a reply...