Login widget redirect property - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Login widget redirect property

  • Login widget redirect property
  • Hi,

    I just started exploring sitefinity. I used login widget on one of my page. What i wanted to do exactly to redirect the user automatically on homepage(or some other page) after successful login. 

    I've gone through all the properties of login widget, but i don't see any property which does this. i.e. navigateurl. 

    Can you pls tell me whether there is any property out of the box or i need to go for user control.

    Thanks & regards,
    palak
  • palak,

    You need to edit the "DestinationPageUrl" property (~/somepage.aspx). Also, make sure the "LoginAction" property is set to "Redirect".
    Hope this helps.
    Andrei
  • Hi Andrei,

    I am using sitefinity 5. These properties you said is available with login widget(backward compatibility), and i am using Claim-based authentication. so sitefinity doesn't allow me to use it.
    The new login widget has no such kind of properties. What can be the option now ?

    Regards,
    palak
  • Yes, i can switch back to FBA (form-based authentication). I am going to do that.

    Still, if any option available with CBA(claim-based), do let me know.

    Regards,
    palak
  • Hello guys,

     The redirect functionality for the claims based login widget will be implemented in the upcoming Service Pack, expected in the upcoming weeks.

    All the best,
    Atanas Valchev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • That's great !

    Best Regards,
    palak
  • Hi Palak,

    We have released the service pack for 5.1 yesterday, so you may download it from your account downloads page and check the new functionality of the login widget.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Waaw...

    Lemme' check this release.

    Many thanks to you victor.

    regards,
    palak
  • Hi Victor,

    I am running Sitefinity 6.2. I have added a Login form which uses a custom MembershipProvider (in case that matters). I have tried to set the "DestinationPageUrl" property to "~/someRedirectpage.aspx?param1=abcdefg" and "mydomain.com/somepage.aspx" but in all cases the login form does not redirect to the desired destination.

    Is this, perchance, a bug in Sitefinity 6.2?

  • Hi Guys,
    Facing same problem while using 6.2. It cannot redirect to the page defined in DestinationPageUrl. Is there any official response regarding to that?
  • Hi,

    This behavior is caused by a bug in 6.2. If you have the login widget and a login status widget on the same page, the destinationpageurl does not work and the user is not redirected.

    I apologize for the inconvenience. 

    Regards,
    Atanas Valchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Hi Atanas,
    Thank you for the reply. Going to build a custom control for that :)
  • Hi Atanas,

    When you have a moment, can you please report back to this thread when you guys decide in which service release this bug fix will be included?

    Thanks!
  • Hi,

    The bug fix should be available in text release.

    Regards,
    Atanas Valchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items