Intersoft Support Center

Customize resources content using ResourcesContentTemplate

WebScheduler allows user to customize resources content.

In this topic, you will learn how to configure resources content using ResourceContentTemplate.

To customize resources content

  1. Right click on WebScheduler’s control and choose Properties.
  2. Set ResourcesContentMode to Custom.
  3. You will find <ResourcesContentTemplate> tag in the source code. You can freely customize the content template according to your needs. The sample below is using two ASP.NET Label controls to be added into the content template:
    <ResourcesContentTemplate>
       <table cellpadding="0" cellspacing="0" style="padding:2 2 2 2; width: 100%; height: 100%; font-family:Segoe UI; font-size:8pt;">
          <tr>
             <td style=" border-right:solid 1px #9199a4; width:50%;">
                  <asp:Label ID="Label1" runat="server" Text="Resource Name"></asp:Label>
             </td>
             <td>
                  <asp:Label ID="Label2" runat="server" Text="Location"></asp:Label>
             </td>
          </tr>
       </table>
    </ResourcesContentTemplate>                 
                        
Previous Next