|
<%@ Page Language="C#" MasterPageFile="~/SampleGridThemes.master" Title="GridThemes Demo" %>
<%@ Register Assembly="GridThemes" Namespace="UNLV.IAP.GridThemes" TagPrefix="cc1" %>
<script runat="server">
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
To use GridThemes, configure your application by performing the following steps:
<ol>
<li>
Copy the file <i>GridThemes.dll</i> to your project�s bin directory.
</li>
<li>
Activate the build provider by adding the following entry to the <code><buildProviders></code> section of your web.config file:
<pre><system.web>
<compilation debug="false">
<buildProviders>
<add extension=".gt"
type="UNLV.IAP.GridThemes.GridThemesBuildProvider, GridThemes"/>
</buildProviders>
</compilation>
</system.web>
</pre>
This associates the GridThemes custom builder with any files in the App_Code folder with .gt extensions. You may substitute a different extension if you wish.
</li>
<li>
Create and store conditional GridTheme files in the App_Code folder. Examples of the
XML syntax used for GridTheme files are shown throughout this demo application.
</li>
<li>
Add a <code>GridThemeExtender</code> control to your GridView�s .aspx page.
</li>
<li>
Assign the desired theme name to the GridView�s newly extended <code>GridTheme</code> property.
</li>
</ol>
</asp:Content>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
With a background in education, music, application development, institutional research, data governance, and business intelligence, I work for the University of Nevada, Las Vegas helping to derive useful information from institutional data. It's an old picture, but one of my favorites.