TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rajkumar R
NA
183
220.4k
How to hide footer page total from gridview in asp.net
Nov 6 2011 11:52 PM
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
GridView1.DataBind();
BindGrid();
int count = GridView1.PageCount;
if (count == GridView1.PageIndex + 1)
{
GridView1.FooterRow.Visible = true;
}
else
{
GridView1.FooterRow.Visible = false;
}
}
I above code i have used to hide the footer page hiding but some times it is not working properly. I want to show the total in the final page of the gridview, remaining page footer should not visible,Any one please
Reply
Answers (
5
)
Problem in adding image to web page
How to insert empty row in the grid view in asp.net