October 2010
Intermediate to advanced
1920 pages
73h 55m
English
LoginView ControlThe LoginView control enables you to display different content to different users depending on their authentication status. For example, the page in Listing 26.39 displays different content for authenticated users and anonymous users (see Figure 26.16).
Figure 26.16. Displaying content to authenticated users with the LoginView control.

Listing 26.39. ShowLoginView.aspx

The LoginView control in Listing 26.39 contains two templates: an AnonymousTemplate and a LoggedInTemplate. Only one of the two templates is displayed ...
Read now
Unlock full access