15,892,809 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.