I have a page that dynamically creates gridviews on button click which that works fine. And along with it creating a grid, on the top of the grid there is a linkbutton to delete it. Now, what i am trying to accomplish is that when i delete one of the grids
it will delete the grid from the page and resync the numbers. Meaning, lets say i have the following:
Grid1
Grid2
Grid3
Grid4
If i decide to delete Grid3, what actually happens is this:
Grid1
Grid2
Grid4
And then if i click something on the page for it to reload or something, then it will resync the numbers correctly:
Grid1
Grid2
Grid3
I have no idea why its doing that and why it doesn't do it this way in the first place. Can someone please help me with this?
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, E ...
Go to the complete details ...