1-888-365-2779
+1-888-365-2779
Try Now
More in this section

LogIn Issue

2 posts, 0 answered
  1. anand
    anand avatar
    59 posts
    Registered:
    11 Jun 2008
    09 Oct 2008
    Link to this post

    1) We have set Login Page property of Forum control to our Login.aspx page in root, Now every unregistered users are redirected to custom login pagein root(~/login.aspx) but In
    LoginView Control how we can set our login Page on login link as it is redirecting users on ~/Sitefinity/login.aspx.

    2) I want to sent uses on the page from where they have come, In my case on forum page, after login in Login control, so how can I set AfterLogin Page in login control in our ~/Login.aspx page

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    09 Oct 2008
    Link to this post
    Hi anand,

    The LoginView control is a standard asp.net control and it does not support destination url property at Sitefinity. As a solution you can set LoginPage property of the Forums control. Then, drag and drop LoginControl on the login page and set its DestinationPageUrl property manually. Thus, when a user try to post, edit threads itwill be redirected to the the login page to enter their credentials. After clicking submit the user will be redirected to the forum again.  You should create a separate role with users and deny CMS access for this role. Thus, public users will not be able to enter in the administrative area of the site.

    Hope this helps.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered