Posted 24 May 2013 Link to this post
protected
void
RadButton1_Click(
object
sender, EventArgs e)
string
script =
"function f(){$find(\""
+ RadWindow.ClientID +
"\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
; ScriptManager.RegisterStartupScript(Page, Page.GetType(),
"key"
, script,
true
); }
RbtnYes_Click(
sender, EventArgs e) {
+ RadWindow2.ClientID +
RbtnNo_Click(
sender, EventArgs e) { }
RbtnOkinInsert_Click(
sender, EventArgs e)<br> {
foreach
(GridEditFormItem item
in
RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem)) {
if
(item.IsInEditMode) { RadTextBox RtbCheckNumber = (RadTextBox)item.FindControl(
"RadTextBox1"
); RtbCheckNumber.Text =
""
; RtbCheckNumber.Text = RtbChkNumberinInsertMode.Text; } } } When confirmation window ask user to click on "yes" or "No" button at the time when user click on "yes" I want to show Some confirmation rad window and also at time user click on yes or no i want close the "Rad Confirmation" window and also user enter some value in textbox and click on Ok .I want close "rad Prompt" window also help me telerik team.
/*Yes button click*/
{
/*to close the confirmation window here*/
"\").show();$find(\""
"\").hide(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
;
ScriptManager.RegisterStartupScript(Page, Page.GetType(),
);
}
/*OK button click*/
RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem))
... ... ...
/*To hide prompt window on OK click*/