LoginView Template Find Control Sample

This sample demonstrates how to find and retrieve a value from a control contained in a LoginView template. In this example log in as User2 and select a choice from the drop down list displayed in the Admin template.

In this example the templates are in the following order:
  1. Admins
  2. Users
  3. Customers
  4. *Annonymous
  5. *LoggedIn
In this example the templates are in the following order:
  1. Admins
  2. Customers
  3. Users
  4. *Annonymous
  5. *LoggedIn

You are not logged in. Please Login.

Log In
 
 
You are not logged in. Please Login.

Log In
 
 

Example User Accounts

You can use the following user accounts to try out this sample:

UserName Password Question Answer Roles
User1 123456? Favorite color? Red Users, Customers
User2 123456? Favorite color? Red Admins
User3 123456? Favorite color? Red Customers