Click here to Skip to main content
15,879,613 members
Articles / Web Development / ASP.NET

An Expandable .Net GridView

Rate me:
Please Sign up or sign in to vote.
4.91/5 (10 votes)
24 Oct 2013CPOL4 min read 53.2K   3K   26  
An expandable .NET GridView control
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
<%@ Register TagPrefix="UC" Namespace="MyControls" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Expandable Grid Demo</title>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="welcomeBanner">
            <span id="welcome">Welcome</span> to the Expandable GridView demo. This is a user control implemented based on <br />
            .Net GridView control, together with jQuery, JSON. <span id="author">---Sitang Ruan</span>
        </div>
        <div class="demoMenu">
            <h1><a href="Demo1.aspx">Grid Demo 1</a></h1>
            <h1><a href="Demo2.aspx">Grid Demo 2</a></h1>
            <h1><a href="Demo3.aspx">Grid Demo 3</a></h1>
        </div>
        <div id="demoNote">(Note: The data source used in the demos is a data table stored in Session only, NOT from database)</div>
    </form>
</body>
</html>

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) TrafficTech Inc.
Canada Canada
I am Sitang Ruan, a .Net developer focus on web application development for 6 years. I like to write elegant and efficient codes to provide user a smooth and solid experience. I also like to take very complicated and challenging tasks.

Comments and Discussions