Hi everybody,
I'm using two radgrid seaparetly related to two tab. Now If I click tab2 and edit any record of grid 2 then edit popup form open. The scenario starts from here that without touching Update or Cancel button if I click 2nd tab then I need a confirmation message...... I am getting alert mesage through following code..
I'm using two radgrid seaparetly related to two tab. Now If I click tab2 and edit any record of grid 2 then edit popup form open. The scenario starts from here that without touching Update or Cancel button if I click 2nd tab then I need a confirmation message...... I am getting alert mesage through following code..
foreach
(GridDataItem item in radGridTimeBand.MasterTableView.Items)
{
if (item.ItemType == GridItemType.EditItem)
{
RadAjaxManager1.Alert(
"You haven't completed the previous form, data will be lost!!");
}
item.Edit =
false;
}
radGridTimeBand.Rebind();
Please suggest me how could I display confirm dialog box in place of alert message box.