NAVIGATION CONTROLS.

Slides:



Advertisements
Similar presentations
Site Collection, Sites and Sub-sites
Advertisements

Master Pages, User Controls, Site Maps, Localization Svetlin Nakov Telerik Corporation
Internetteknologi (ITNET2) Presentation 21: ASP.NET Advanced.
Unit 5: Building Presentation Layer Applications with ASP.NET 2.0.
Relative and Absolute Relative Absolute.  In web-page design, a hyperlink (or link) is a reference to a document that the reader can directly follow,
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Tutorial 1 Developing a Basic Web Page
Navigation Controls MacDonald Ch. 11 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Best Practices for Website Design & Web Content Management.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
1 of 7 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
New “Collaborate” Button Integrate UI directly into the browser. Preferred target: Firefox Easiest browser to extend in terms of UI.
1 Designing & Developing Web- Based Solutions in ASP.NET Week 3 Website Navigation & Resources.
Web Site Navigation How to get around in an ASP.NET web application 1Web Site Navigation.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
Master Pages and Site Navigation Minder Chen
Web Technologies Website Development Trade & Industrial Education
Maintaining Your Website Using Cascade CMS Presented by UC Irvine Health Information Services and Marketing & Communications.
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
Chapter 7 – Navigation Dr. Stephanos Mavromoustakos.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
1 CS 3870/CS 5870: Note 19 SiteMap and AJAX Lab 8.
Tutorial 1 Developing a Basic Web Page. Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML elements.
1 CS 3870/CS 5870: Note 18 SiteMap Prog8. Test 2 50 Points Thursday, Nov 12 2:00 PM – 4:00 PM Lab
ASP.NET Rehab AlFallaj. Manualy type the following code for iframe tag in the aspx source code.
Marco Bellinaso Senior Trainer & Consultant Code Architects Srl Building Dynamic Navigation Systems with Visual Studio 2005 and ASP.NET 2.0.
A Lap Around New Enhancements for Web Developers in Visual Studio 2005 Alexander Holy Developer Evangelist, Microsoft EMEA
Session: 4. © Aptech Ltd. 2Creating Hyperlinks and Anchors / Session 4  Describe hyperlinks  Explain absolute and relative paths  Explain how to hyperlink.
MS-PowerPoint 2 Prepared by Isma3eel Al-Taharwa. Content  Animation types.  Applying schema Animation.  Adding Custom Animation.  Making Slide Transition.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Module 10: Data Access in ASP.NET. Overview Overview of the ASP.NET Data Access What is Data Access List of Data Source Control What is Data Bound How.
Easy Site Navigation Getting organized, staying organized Creating custom site-navigation controls Using Menu, TreeView, and SiteMenuPath controls Make.
COMP 143 Web Development with Adobe Dreamweaver CC.
Making the Most of Search in SharePoint 2013 Christina Wheeler.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Chapter 7 Navigation. Objectives How to move around in your site using server controls and plain HTML How to address pages and other resources like images.
Objectives At the end of this session students will: Define the following terms in two sentences or less Website Web page Browser Html URL Hyperlink Explain.
Getting Started with HTML
Site Maps and Navigation
ASP.NET Forms.
Chapter 1 Introduction to HTML.
About SharePoint Server 2007 My Sites
LMEvents SharePoint Portal How-to Guide
Project 1 Introduction to HTML.
Website Navigation.
USING DREAMWEAVER Contents: Assigning a Root Folder
Web software.
Web Design Monday May 20 Bell Work Class Work Essential Questions
CS 3870 Prog6 Roles Management Due Monday, November 5 Group Assignment.
State management & Master Pages in asp.net
CS 3870/CS 5870 Prog 6 Site Map.
CHƯƠNG IX: SITE NAVIGATION & USER CONTROL
Exercise 34 - Skills The Assets panel’s library feature enables you to insert and change elements automatically on multiple pages in your site. You can.
USING DREAMWEAVER MX 2004 Contents: Assigning a Root Folder
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
HTML Links.
Building ASP.NET Applications
ASP.NET.
Web Development Using ASP .NET
Menu.
Document Structure & HTML
SharePoint Foundation 2010
Adding , Editing, and Assigning Full Text Finder Links
Active server pages (ASP.NET)
Mark Quirk Head of Technology Developer & Platform Group
Website Navigation.
Presentation transcript:

NAVIGATION CONTROLS

ASP.NET Site Navigation feature provide a consistent way for users to navigate their site. As your site grows and as you move pages around in the site, it can become difficult to manage all of the links. ASP.NET Site Navigation enable you to store links to all of your pages in a central location and render those links in lists or navigation menus on each page by including a specific web server control.

Navigation

SiteMap File You can use a site map to describe the logical structure of your site. You can then manage page navigation by modifying the site map as pages are added or removed, instead of modifying hyperlinks in all of your web pages.

Create a Site Map <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="" description=""> <siteMapNode url="" title="" description="" /> </siteMapNode> </siteMap>

Web.sitemap XML document is "very" case sensitive <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="Default.aspx" title="Home" description="Home Page"> <siteMapNode url="Assignments.aspx" title="Assignments" description="Programming assignments"> <siteMapNode url="Assignment1.aspx" title="Assignment 1" description="Programming assignment 1" /> <siteMapNode url="Assignment2.aspx" title="Assignment 2" description="Programming assignment 2" /> </siteMapNode> <siteMapNode url="AboutUs.aspx" title="About Us" description="Authors and purposes"> <siteMapNode url="ContactInfo.aspx" title="Contact information" description="Contact phones and emails" /> <siteMapNode url="ManagementTeam.aspx" title="Management Teams" description="Introduction of management teams" /> </siteMap>

After you have your SiteMap you can use several ASP After you have your SiteMap you can use several ASP.NET controls to navigate the site : SiteMapPath Menu TreeView

SiteMapPath Create a breadcrumb A single line of text showing the user the location in the website structure. It usually helps end user to know his location in relation to the rest of his site. The SiteMapPath control uses the web.sitemap file by default.

Using SiteMapPath <asp:SiteMapPath RunAt="server" />

Menu The Menu control displays a standard site navigation menu. The menu will use the sitemap to display each item and it uses submenus for each item in a lower hierarchy.

Bind Menu Control with SiteMapDataSource

TreeView Allows the users to navigate through the entire site. it requires a SiteMapDataSource control which allows the control to automatically get the data for navigation. Each node in the tree is rendered as a hyperlink to the particular page. Add a SiteMap control to the page. Add a treeview control to the page . Using the smart tag pick the SiteMapDataSource as the DataSource. Test it.

TreeView

Declaring a TreeView <asp:TreeView RunAt="server> <Nodes> <asp:TreeNode Text="Training" RunAt="server"> <asp:TreeNode Text="Programming .NET" RunAt="server" Navigateurl="Classes.aspx?id=1" /> <asp:TreeNode Text="Programming ASP.NET" RunAt="server" NavigateUrl="Classes.aspx?id=2" /> <asp:TreeNode Text="Programming Web Services" RunAt="server" NavigateUrl="Classes.aspx?id=3" /> </asp:TreeNode> <asp:TreeNode Text="Consulting" RunAt="server" NavigateUrl="Consulting.aspx" /> <asp:TreeNode Text="Debugging" RunAt="server" NavigateUrl="Debugging.aspx" /> </Nodes> </asp:TreeView>