Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Asp.Net Gridivew PageIndexchanging problem
January 21, 2011
I am entering children details like sr no, child name and age in a gridview. There is a button called ADD NEW in a footer. When I click on the button the new empty row gets added. I have set the allowpaging property to true and called the function on pageindexchanging. But when I go on second page and again come back on first all the data gets vanishes and empty row remains. Here I have set the page size to 5.
Any help would be appreciated
Posted Date: January 21, 2011 Points: 5
did u use like this in Pageindexchanging event ?
protected void grdList_PageIndexChanging(object sender, GridViewPageEventArgs e)
grdList.PageIndex = e.NewPageIndex;
bindGrid();//whenever u change the page index, u have to bind the grid.....
let me know ur comments...
Posted Date: January 23, 2011 Points: 5
I have used it but...its not working...
To post reply
Related Questions Related Questions
page_load event problem
DATAGRID NULL ITEM REPLACE PROBLEM
Problem with login control
problem of explorer
SWF file problem
Crystal Report Problem
Problem while invoking the external service in a Windows service or windows application - Proxy is generated using svcutil
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend