Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am inserting data in a grid view dynamically using footer row
When i close the window and open that grid i see no data is inserted...
But if i run the code again i check that rows are already inserted....


same it happens in case of delete...i am deleting the rows in the grid...
it gets deleted,,,,,but if i close the window and navigate to that page again...the rows are there,,,,,
if i rerun the code i see ..data is already deleted ...and so also in database....


is it AJAX error???????

How will i fix it... My code has to be developed tomorrow...Suggest

[EDIT]: Shouting Removed
Posted
Updated 12-Jun-13 18:13pm
v2
Comments
anurag19289 12-Jun-13 15:53pm    
MY GRID IS CONTAINED IN UPDATE PANEL...
joshrduncan2012 12-Jun-13 16:08pm    
Can you post your code and point to the line where the error is appearing?
OriginalGriff 12-Jun-13 16:55pm    
And if you want help, STOP SHOUTING AT PEOPLE!
joshrduncan2012 12-Jun-13 17:29pm    
Agree!
Thanks7872 13-Jun-13 0:15am    
Capital letters are considered as shouting,so be carefull while using it.Further post the relavant code,otherwise no one can help you.

1 solution

Due to Update Panel..
GridView Is Not Refreshing.
That's Why U Facing This Type Of Problem..
Try To Keep GridView OutSide Of Update Panel
After Whatever Ur Operation Is There,U Have To Bind Data With GridView Again
 
Share this answer
 
v2
Comments
anurag19289 13-Jun-13 12:38pm    
thanks ...let me try this....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900