M
Michael Johnson Jr.
here is the problem, I have a table with dynamic buttons and events.
On buton click of said row, it would clear the rows in the table, and
repopulate it.
This works fine the first time you run the app on the first click.
Every other attempt to click one of these buttons fires a page load only,
upon the 2nd click a button click event is fired. This was verified by
adding a list box to the page, in Page_Load and Button_Click event adding
code to add an item to the listbox denoting which method was called.
When clicking the buttons, I see Page_Load, clicking a second time I see
Page_Load, Button_Click as I would expect (and how it works the very first
time the page is clicked).
On buton click of said row, it would clear the rows in the table, and
repopulate it.
This works fine the first time you run the app on the first click.
Every other attempt to click one of these buttons fires a page load only,
upon the 2nd click a button click event is fired. This was verified by
adding a list box to the page, in Page_Load and Button_Click event adding
code to add an item to the listbox denoting which method was called.
When clicking the buttons, I see Page_Load, clicking a second time I see
Page_Load, Button_Click as I would expect (and how it works the very first
time the page is clicked).