S
Simon Strandgaard
Hi group,
my setup:
I have a GridView that extracts data from my table (a SqlDataSource).
For each row, I have an 'edit' button and a 'delete' button.
The 'edit' button opens a popup, through which one can insert and edit
the table.
The 'delete' button deletes the row.
my problem:
The 'delete' button does NOT work, if I at postback invoke databind on
the gridview.
The 'delete' button works, if I at postback does NOT invoke databind on
the gridview.
my questions regarding Page_Load:
A) how can I determine if 'edit' has 'touched' the table ?
B) how can I determine if one has clicked the 'delete' button' ?
my setup:
I have a GridView that extracts data from my table (a SqlDataSource).
For each row, I have an 'edit' button and a 'delete' button.
The 'edit' button opens a popup, through which one can insert and edit
the table.
The 'delete' button deletes the row.
my problem:
The 'delete' button does NOT work, if I at postback invoke databind on
the gridview.
The 'delete' button works, if I at postback does NOT invoke databind on
the gridview.
my questions regarding Page_Load:
A) how can I determine if 'edit' has 'touched' the table ?
B) how can I determine if one has clicked the 'delete' button' ?