Click here to Skip to main content
15,892,809 members

Comments by miligupta123 (Top 4 by date)

miligupta123 17-May-12 3:26am View    
<style type="text/css">

.hiddencol
{
display: none;

}
th
{
cursor:pointer;
background-color:#dadada;
color:Black;
font-weight:bold;
text-align :left;
text-decoration:underline;

}
th.headerSortUp
{
background-image: url(images/asc.gif);

background-position: right center;
background-repeat:no-repeat;
}
th.headerSortDown
{
background-image: url(images/desc.gif);
background-position: right center;
background-repeat:no-repeat;

}


</style>


<script src="js/jquery4.js" type="text/javascript"></script>
<link href="css/StyleSheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>

<script src="js/jquery.tablesorter.min.js" type="text/javascript"></script>

<script type="text/javascript" language="javascript">

function pageLoad(sender, args)
{
$(document.getElementById('<%=grdQueryinfo.ClientID %>')).tablesorter();
}

</script>

now my grid code goes here
grid having template columns.

this is my code after binding grid.
grdQueryinfo.UseAccessibleHeader = true;
grdQueryinfo.HeaderRow.TableSection = TableRowSection.TableHeader;
miligupta123 15-May-12 1:53am View    
This is my Queryinfo.aspx page code

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Queryinfo.aspx.cs" MasterPageFile="~/MasterPage.master" Inherits="_Queryinfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="scripts/jquery-1.4.3.min.js" type="text/javascript"></script>

<script src="scripts/jquery.tablesorter.min.js" type="text/javascript"></script>

<script type="text/javascript">
function pageLoad(sender, args)
{
$("#grdQueryinfo").tablesorter();
}
</script>

<asp:Content ID="BodyContent" runat="server"ContentPlaceHolderID="ContentPlaceHolder1">
---- here my gridview code --------




This is i added in Queryinfo.aspx.cs page

grdQueryinfo.UseAccessibleHeader = true;
grdQueryinfo.HeaderRow.TableSection = TableRowSection.TableHeader;
grdQueryinfo.FooterRow.TableSection = TableRowSection.TableFooter;



please explain me whats the problem.
miligupta123 20-Jun-11 8:41am View    
Thanks A Lot.I appreciate your solution.but i dont know VB.so cant able to implement in c#.
miligupta123 6-Jun-11 6:40am View    
i apprciate your solution but my client want to see all records at a glance.
but my gridrowdatabound event failed to load data.so please provide me exact solution.