So at this point, the Anonymous Template for (Make web site)

So at this point, the Anonymous Template for the LoginView control contains a Login link. If you click the Common Tasks button for the LoginView control, you should see AnonymousTemplate in the Common Tasks menu, and the Login link inside the LoginView1 control as shown in Figure 7-13. 5. To choose what authenticated users will see in the control, click the Common Tasks button for the LoginView1 control and choose LoggedInTemplate. The Login link disappears because it s on the Anonymous Template, not the LoggedIn Template. 6. In the LoginView1 control, type the word Hello followed by a blank space. 7. Drag a LoginName control from the Toolbox into the LoginView1 control, just to the right of the word Hello. 8. Drag a LoginStatus control from the Toolbox into the LogingView1 control. At this point, the LoggedInTemplate should look like Figure 7-14. When you view the Common Tasks menu for the LoginView1 control, it should show LoggedInTemplate, as shown in the figure. The LoginStatus control always shows the word Login in Design view. Don t worry about that. Later, when you actually use the page in a Web browser, it will show Logout to authenticated users. You can t open a Master Page on its own in a Web browser, so you can t choose View in Browser to test the page immediately. But that is not a problem. You ll be able to put things to the test a little later in this chapter. For now, just close and save the Master Page. Drag Figure 7-13: Login View control s Anonymous control contains a Login Status control. 140 Part II: Building Your Web Site
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision make web site services

Leave a Reply