Master Pages allow you to define common structure and interface elements for your site, such as a page header, footer, or navigation bar, in a common location called a "master page", to be shared by many pages in your site. This improves the maintainability of your site and avoids unnecessary duplication of code for shared site structure or behavior.
The following code snippet is from the live examples shipped with Telerik RadTabStrip:
| ASPX |
Copy Code |
|
<%@ Page Language="C#" MasterPageFile="~/TabStrip/Examples/ASPNET2/MasterPages/MasterPageCS.master" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.TabStripExamplesCS.ASPNET2.MasterPages.DefaultCS" Title="Untitled Page" %> <%@ Register TagPrefix="rad" Assembly="RadTabStrip.Net2" Namespace="Telerik.WebControls" %> <asp:Content ID="Content1" ContentPlaceHolderID="tabStripPlaceHolder" Runat="Server"> <rad:RadTabStrip ID="RadTabStrip1" runat="server" Skin="WinXP"> ... </rad:RadTabStrip> </asp:Content> |
See Also