Using Dynamic Web Templates in Visual C#.NET

Making QR Code 2d barcode in Visual C#.NET Using Dynamic Web Templates

Using Dynamic Web Templates
Denso QR Bar Code Generation In C#.NET
Using Barcode generation for .NET framework Control to generate, create QR Code image in .NET applications.
www.OnBarcode.com
Read QR Code In C#
Using Barcode decoder for Visual Studio .NET Control to read, scan read, scan image in VS .NET applications.
www.OnBarcode.com
Like static templates, FrontPage Dynamic Web Templates impart new pages with a predesigned visual design and prepositioned page elements. Unlike static templates, however, Dynamic Web Templates remain attached to the pages they create. When you save changes to a Dynamic Web Template, FrontPage propagates them to each page in the same Web site that has that template attached. The body of a Dynamic Web Template can contain any number of editable and non-editable regions. These designations, however, pertain only to pages that use a Dynamic Web Template. When you edit the template itself, you can edit either type of region. Table 12-1 illustrates this concept.
Paint Barcode In C#
Using Barcode generation for Visual Studio .NET Control to generate, create barcode image in .NET framework applications.
www.OnBarcode.com
Scan Barcode In C#
Using Barcode scanner for .NET Control to read, scan read, scan image in .NET framework applications.
www.OnBarcode.com
Table 12-1.
QR-Code Maker In Visual Studio .NET
Using Barcode generation for ASP.NET Control to generate, create QR Code 2d barcode image in ASP.NET applications.
www.OnBarcode.com
QR Code 2d Barcode Maker In Visual Studio .NET
Using Barcode generator for Visual Studio .NET Control to generate, create QR Code image in .NET framework applications.
www.OnBarcode.com
Effect of Dynamic Web Template Editable Regions
Making QR Code In VB.NET
Using Barcode generator for .NET framework Control to generate, create Denso QR Bar Code image in Visual Studio .NET applications.
www.OnBarcode.com
Code 3/9 Generator In C#
Using Barcode maker for .NET framework Control to generate, create Code 39 Full ASCII image in VS .NET applications.
www.OnBarcode.com
Editable in template
Making Linear Barcode In Visual C#.NET
Using Barcode creator for .NET framework Control to generate, create 1D Barcode image in VS .NET applications.
www.OnBarcode.com
Encoding GS1 128 In Visual C#.NET
Using Barcode printer for VS .NET Control to generate, create UCC.EAN - 128 image in .NET framework applications.
www.OnBarcode.com
Yes Yes
Generate Bar Code In Visual C#
Using Barcode creator for .NET framework Control to generate, create bar code image in .NET applications.
www.OnBarcode.com
International Standard Serial Number Drawer In Visual C#.NET
Using Barcode drawer for VS .NET Control to generate, create International Standard Serial Number image in .NET applications.
www.OnBarcode.com
12
Bar Code Decoder In VB.NET
Using Barcode Control SDK for Visual Studio .NET Control to generate, create, read, scan barcode image in .NET framework applications.
www.OnBarcode.com
Bar Code Creator In Java
Using Barcode drawer for Java Control to generate, create bar code image in Java applications.
www.OnBarcode.com
Type region
QR Code ISO/IEC18004 Creator In Java
Using Barcode generator for Java Control to generate, create QR Code image in Java applications.
www.OnBarcode.com
Printing Linear Barcode In Visual Basic .NET
Using Barcode generation for VS .NET Control to generate, create 1D Barcode image in .NET framework applications.
www.OnBarcode.com
Editable Non-editable
Creating Bar Code In .NET Framework
Using Barcode maker for Visual Studio .NET Control to generate, create bar code image in .NET applications.
www.OnBarcode.com
DataMatrix Generation In Objective-C
Using Barcode encoder for iPad Control to generate, create DataMatrix image in iPad applications.
www.OnBarcode.com
Editable in created page
EAN13 Recognizer In .NET Framework
Using Barcode reader for VS .NET Control to read, scan read, scan image in .NET framework applications.
www.OnBarcode.com
Paint GTIN - 128 In Objective-C
Using Barcode creation for iPad Control to generate, create USS-128 image in iPad applications.
www.OnBarcode.com
Yes No
Propagates template changes
No Yes
Part 3: Editing Basic Page Content
Using Page Templates Table 12-1 also illustrates that only non-editable areas receive new content when you update the template. In effect, all copies of a non-editable region remain in sync with the template. If any copies of editable regions remain in sync, however, it s simply a happy accident. Irrespective of any editable regions you create, attaching a Dynamic Web Template dims most options on the General, Formatting, Advanced, and Language tabs of the Page Properties dialog box. It also dims the Style, Style Sheet Links, Shared Borders, and Background tabs on the Format menu. If you want to change these settings, modify the template, and let FrontPage update the attached pages. If this would affect more pages than you want, you probably need two Dynamic Web Templates one for each set of appearance settings instead of one. Note
One Dynamic Web Template can attach another. In this arrangement, changing the first template updates the one that attaches it, and this in turn updates any pages that use the second template.
Creating Dynamic Web Templates
Before using a Dynamic Web Template you must, of course, create it. Here s the procedure:
1 Open a new or an existing page in Design view. 2 Add or modify any content you want.
In a new Dynamic Web Template, the entire page is non-editable.
3 Select the first area in the page you want to designate as editable. (If the area you want
contains no other content, add an empty paragraph so that you can select it.)
4 Choose Dynamic Web Template from the Format menu, and then Click Manage
Editable Regions.
5 When the Editable Regions dialog box shown in Figure 12-9 appears, choose a name
for the new editable region and type it into the Region Name box.
6 Click Add to make the region part of the template, and then click Close to close the
Editable Regions dialog box. An orange border will surround the new editable region.
7 Repeat steps 3 through 6 for each additional editable region.
You can create as many or as few editable regions as you want. Presumably you ll want at least one so that each page using the template can present its own unique content. At the same time, there s usually no advantage in creating lots of small editable regions that touch each other. A single, larger editable area would work just as well.
12
Part 3: Editing Basic Page Content
Microsoft Office FrontPage 2003 Inside Out
Figure 12-9. Attaching a Dynamic Web Template is as simple as opening a file.
Here s the procedure for saving a Dynamic Web Template:
1 Choose Save As from the File menu. 2 When the Save As dialog box appears, select Dynamic Web Template (*.dwt) in the
Save As Type box.
3 In the File Name box, specify a short, easy-to-remember name that same sort of
name you d give any other Web page.
4 Click Save to save the template and close the dialog box.
Attaching Dynamic Web Templates
The procedure for using a Dynamic Web Template isn t difficult, but it does require a different approach than using static templates. Proceed as follows:
1 Open the page you want the template to control. This could be a new, blank page or an
existing page. If you want, create a new page based on a static template.
2 From the Format menu, choose Dynamic Web Template and then choose Attach
Dynamic Web Template.
3 When the Attach Dynamic Web Template dialog box shown in Figure 12-10 appears,
locate and double-click the template you want to use.
4 If your Web page has any existing content, FrontPage will display the large Choose
Editable Regions For Content dialog box shown in the background in Figure 12-11. By default, this will associate the existing page content designated (Body) with the first editable region in the template.
12
Part 3: Editing Basic Page Content
Using Page Templates
Figure 12-10. Use this dialog box to associate existing editable regions with those on a different Dynamic Web Template.
Figure 12-11. When a page uses a Dynamic Web Template and then you attach a different one, you must map content in the old editable regions to the editable regions in the new template.
If, as in Figure 12-11, the page already uses a Dynamic Web Template and you attach a different one, FrontPage will try to match up editable regions in the old and new tem plates based on name. If an existing editable region name in the old template doesn t exist in the new template, FrontPage matches it up with the first the editable region in the new template.
12
If FrontPage doesn t propose the editable region matchups you want, select any line that s incorrect, and click the Modify button. This displays the small Choose Editable Region For Content dialog box that appears in the foreground of Figure 12-11. Select the new region you want from the drop-down list, and then click OK.
Copyright © OnBarcode.com . All rights reserved.