Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henrik Hammarström 58 posts 54 karma points
    Oct 26, 2009 @ 20:38
    Henrik Hammarström
    0

    Logged in text

    Hi there

    I want this I dont now how to do it

    I have a page where users can logg in with the membercontrol

    and when there are  not logged in I want to show them some text that written in one Richtext editor property

    and when they are logged in I want to show another text from another Richtext editor property

    I tried to do a macro with if else and has access

    But I cant get it to work

     

    Please help

    Best
    /Henrik

     

  • skiltz 501 posts 701 karma points
    Oct 26, 2009 @ 20:45
    skiltz
    3

    You should be able to use the asp:loginview asp.net membership control.  http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginview.aspx

    <asp:LoginView id="LoginView1" runat="server">
        <AnonymousTemplate>
                <xsl:value-of select="" />
        </AnonymousTemplate>

        <LoggedInTemplate>
                 <xsl:value-of select="" />
        </LoggedInTemplate>
    </asp:LoginView>
Please Sign in or register to post replies

Write your reply to:

Draft