Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Asp.Net 3.5 In Simple Steps- P11:This is a book that helps you to learn ASP.NET using Visual Studio 2008. Precision, an easy-to-understanding style, real life examples in support of the concepts, and practical approach in presentation are some of the features that make the book unique in itself. The text in the book is presented in such a way that is equally helpful to beginners as well as professionals. | Chapter 4 Navigation Controls You can see that an XML data source file XMLf ile.xml with the name XMLDataSourcel is added to the page as shown in Fig.ASP-4.16 FigJ SP-4.16 19. Now go to the Properties window of the TreeView control and dick the ellipse button beside the DataBindings property. 20. This opens a TreeView DataBindings Editor dialog box. In the Available data bindings pane select homepage element and dick the Add button as shown in Fig.ASP-4.17 21. To set the values for the homepage element in the TreeView control dick the arrow shown in the dropdown list beside the TextField property as shown in Fig.ASP-4.18 22. Now select the title option as shown in Fig.ASP-4.18. 23. Now dick the drop-down list beside the NavigateUrlField property as shown in Fig.ASP-4.19 93 chtlich geschutztes M ASP.NLT 3.5 in Simple Steps 24. 5e e cHhe url option as shown in Fig.ASfM.19. 25. Similarly se ecrthe subpage element from the Available data bindings pane and clickAdd button. You can see the subpage selected in the Selected data bindings pane Fig.ASP-4.19 . 26. Set the TextField and NavigateUrlField properties in the same manner as you did in the case of the homepage clement and dick the OK button. 27. In the Ooty.aspx page jfcone Label control and se its properties as listed in Table 4.15 28. In the similar manner jot onc Label control on the Mussoorie.aspx page and se its properties. 5cVthe Text property of the Label conirol as Welcome to Mussoorie. 29. Now in the Solution Explorer window right-dick the Default.aspx page and . e rthe Set As Start Page option. 30. tearthe F5 key to run the application. The Default.aspx page appears as shown in FigASP-4.20. 31. Now dick the Ooty node as shown in Fig.ASP-4.20 olibap destination IPebsite Cbcxnc ow iotmMi. u Fig.ASP-4.20 The Ooty.aspx page with a welcome message appears as shown in Fig.ASP-4.21 Welcome to otp Fig.ASP-4.21 94 h geschützt Chapter 4 Navigation Controls In he same manner if you click the Mussoorie node it takes .