Hi,
I have a radgrid with several rows generated from a sql query. I want to update those rows with different statuses (update status column in a database) dependent on the result meaning that rows should be updated with different statuses. Rows in radgrid are selectable (via checkbox) and three buttons triggers three different types of updates (status update). I will try to explain scenario with pseudo code below.
Select rows you will update to status 1
Button1 clicked
{
Update status = 1 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
Select rows you will update to status 2
Button2 clicked
{
Update status = 2 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
Select rows you will update to status 3
Button3 clicked
{
Update status = 3 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
I'm using C# and asp.net so kindly translate above pseudo code to C# code.
Any kind of help/advice is highly appreciated!
Rgds,
Jesper
I have a radgrid with several rows generated from a sql query. I want to update those rows with different statuses (update status column in a database) dependent on the result meaning that rows should be updated with different statuses. Rows in radgrid are selectable (via checkbox) and three buttons triggers three different types of updates (status update). I will try to explain scenario with pseudo code below.
Select rows you will update to status 1
Button1 clicked
{
Update status = 1 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
Select rows you will update to status 2
Button2 clicked
{
Update status = 2 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
Select rows you will update to status 3
Button3 clicked
{
Update status = 3 for selected rows in radgrid
Remove updated/selected rows from radgrid
Reload grid with remaining rows/items
}
I'm using C# and asp.net so kindly translate above pseudo code to C# code.
Any kind of help/advice is highly appreciated!
Rgds,
Jesper