<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Menu.master" AutoEventWireup="true" CodeFile="ObjectRepositoryPages.aspx.cs" Inherits="ObjectRepositoryPages" %> <%@ MasterType VirtualPath="~/Master/Menu.master" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> <script src="Scripts/jquery.js" type="text/javascript"></script> <script src="Scripts/colResizable-1.3.min.js" type="text/javascript"></script> <script src="Scripts/jquery.cookie.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { if ($.cookie('colWidth') != null) { var columns = $.cookie('colWidth').split(','); var i = 0; $('.GridViewStyle th').each(function () { $(this).width(columns[i++]); }); } $(".GridViewStyle").colResizable({ liveDrag: true, gripInnerHtml: "<div class='grip'></div>", draggingClass: "dragging", onResize: onSampleResized }); }); var onSampleResized = function (e) { var columns = $(e.currentTarget).find("th"); var msg = ""; columns.each(function () { msg += $(this).width() + ","; }) $.cookie("colWidth", msg); }; </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> <div style="overflow: scroll; height: 573px; width: 1030px"> <asp:GridView ID="gvObjectRepository" runat="Server" CssClass="GridViewStyle" AutoGenerateColumns="False" CellPadding="1" Visible="true" ForeColor="Black" GridLines="Vertical" DataKeyNames="objectID" BackColor="White" Height="110px" Style="margin-right: 0px" ShowFooter="false" Width="990px" OnRowDataBound="gvObjectRepository_RowDataBound" AutoGenerateEditButton="True" OnRowEditing="gvObjectRepository_RowEditing" OnRowCancelingEdit="gvObjectRepository_RowCancelingEdit" OnRowUpdating="gvObjectRepository_RowUpdating">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)