i have a masterpage which contains loginstatus control
<asp:LoginStatus ID="LoginStatus1" runat="server"
LogoutAction="Redirect" LogoutPageUrl="Default.aspx" />
now on logout click i want to redirect the page to default.aspx but it is not working
I've been playing around with the login controls recently too and the only difference between what I have and yours is the "~/" in the logoutpageurl property. So try this;
<asp:LoginStatus ID="LoginStatus1" runat="server"
LogoutAction="Redirect"
LogoutPageUrl="~/Default.aspx" />
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With