More in this section

Login Control

2 posts, 0 answered
  1. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    22 Jun 2010
    Link to this post
    Hey -
    I am trying to use the login control to authenticate the user. I needd to drag the login control onto my page and it would automatically start working. But when i try to set the destination page url in the properties, the url does not seem to be set, and there is no redirection taking place.

    Kindly advice.


    Thanks and Regards,
    Siddesh Kapadi
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Jun 2010
    Link to this post
    Hi Siddesh Kapadi,

    You might experience this behavior if you have used the selector to set the page. There  is a bug that will be fixed in Sitefinity 3.7 SP4.

    The options are

    1. Set the property manually - type the url without using the selector.

    2. Expose DestinationPageUrl on the first level and use the selector

    Open  Sitefinity\UserControls\Login\LoginControl.ascx.cs and add the code below to it

    public string DestinationPage
        {
            get
            {
                return this.Login1.DestinationPageUrl;
            }
      
            set
            {
                this.Login1.DestinationPageUrl = value;
            }
        }

    When you open the designer you should see the DestinationPage property on the fist level.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered