API/CodeSamples/Settings/Customizing-Settings-aspx.md
... ...
@@ -10,6 +10,35 @@ Customizing the settings page is fairly straightforward. Due to its nature as a
10 10
11 11
If you changed the PlaceHolders on the default.master or are using a different masterpage then you simply have to reflect those changes in the Settings.aspx code. The two placeholders on this page will need to mimic your masterpage's PlaceHolders.
12 12
13
+```html
14
+
15
+<!--replace these three placeholders' names with the names you gave to them on the masterpage.-->
16
+
17
+<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" Runat="Server">
18
+</asp:Content>
19
+
20
+<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolder" Runat="Server">
21
+<div class="report-page">
22
+ <form id="form1" runat="server">
23
+ <cc1:SettingsControl runat="server" ID="settingscontrol"></cc1:SettingsControl>
24
+ </form>
25
+</div>
26
+</asp:Content>
27
+
28
+<asp:Content ID="Content3" ContentPlaceHolderID="TrackerPlaceHolder" Runat="Server">
29
+</asp:Content>
30
+```
31
+
13 32
##Path references
14 33
15
-You may also need to change the path references in your application. By default, path references are prefixed with (~) to denote the root path. If your application uses a directory structure where the masterpage is not located in the root or where your reporting pages are nested in directories, then you will want to modify the path so the tilde is no longer used. You may require relative paths using reverse directory traversal (./) to properly reference your masterpage and the other reporting pages.
... ...
\ No newline at end of file
0
+You may also need to change the path references in your application. By default, path references are prefixed with (~) to denote the root path. If your application uses a directory structure where the masterpage is not located in the root or where your reporting pages are nested in directories, then you will want to modify the path so the tilde is no longer used. You may require relative paths using reverse directory traversal (./) to properly reference your masterpage and the other reporting pages.
1
+
2
+```html
3
+<%@ Page Title="Settings" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %>
4
+```
5
+
6
+would become
7
+
8
+```html
9
+<%@ Page Title="Settings" Language="C#" MasterPageFile="./Default.master" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %>
10
+```
... ...
\ No newline at end of file