User related Content

Posted by Community Admin on 03-Aug-2018 13:45

User related Content

All Replies

Posted by Community Admin on 19-Apr-2011 00:00

Hi

I have a page with a login control and a blog widget.

is it possible to show only one of them on a site depending wether the user is logged in or not ?

I'd like to show the login control when he is not logged in.-
After he has logged in i'd like to show the blog control

Posted by Community Admin on 19-Apr-2011 00:00

Hi Boas,

You can easily achieve hiding the blog posts control for the not authenticated users - you can set permissions over control and allow only authenticated users to see it. So when the request is annonymous you will not see BlogPosts control.

For the login control Telerik.Sitefinity.Web.UI.PublicControls.LoginControl. You should wrap it in another control and hide the LoginControl based on the request.

Best wishes,
Ivan Dimitrov
the Telerik team


Posted by Community Admin on 20-Apr-2011 00:00

Great it works ! :-)

Many Thanks !

This thread is closed