I am using ASP.NET 2.0
. I am building a table with an ImageButton
in each cell.
If the user clicks on a dropdown
, I do a postback and rebuild the table with a new set of ImageButtons.
When the user clicks on an ImageButton, I show the PostBackURL
property in a Javascript confirm box, and it is correct.
However, when I proceed after the postback described above, the actual PostBackURL
is the one from that cell before the page did the postback.
I am building each ImageButton
with a unique ID
on each page.
Does anyone have any ideas why the PostBackURL
shown on the ImageButton click is not actually being used?