Hi,
I have a grid with a GridTemplateColumn checkbox. And a button.
When my button fires I loop all MasterTableView Items and find out which ones are checked.
For every checked row I do perform a delete (server side).
Before it I would like to open a radwindow to do some other stuff
it look like this
For Each item As GridDataItem In RadGridNM.MasterTableView.Items
Dim myChk As CheckBox = CType(item.FindControl("CheckBoxSet"), CheckBox)
If myChk.Checked Then
RadAjaxManager1.ResponseScripts.Add(String.Format("OpenNews(" & valQuestion & ");"))
'----------------------------
'here perform delete
End If
Next
My goal is to wait until radwindow is closed to perform the delete operation, clearly it does not happen and the loop goes on.
I know that the problem is they works in two different level client-side and server-side.
How do i achieve my goal? someone can help me?
Thank you.
I have a grid with a GridTemplateColumn checkbox. And a button.
When my button fires I loop all MasterTableView Items and find out which ones are checked.
For every checked row I do perform a delete (server side).
Before it I would like to open a radwindow to do some other stuff
it look like this
For Each item As GridDataItem In RadGridNM.MasterTableView.Items
Dim myChk As CheckBox = CType(item.FindControl("CheckBoxSet"), CheckBox)
If myChk.Checked Then
RadAjaxManager1.ResponseScripts.Add(String.Format("OpenNews(" & valQuestion & ");"))
'----------------------------
'here perform delete
End If
Next
My goal is to wait until radwindow is closed to perform the delete operation, clearly it does not happen and the loop goes on.
I know that the problem is they works in two different level client-side and server-side.
How do i achieve my goal? someone can help me?
Thank you.