User related Content
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
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
Great it works ! :-)
Many Thanks !