Hello,
Using a radGrid, when I go into Add Mode programmatically, using "IsItemInserted = true" in PreRender, then call RadConfirm in the InsertCommand code, the confirm question pops up, but the page freezes. I cannot answer "ok" or "cancel." The JavaScript is never invoked. There is no way forward or backward, the page remains frozen on the popup question.
CODE IN PRERENDER:
protected void rgContract_PreRender(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
string addFlag = Request.QueryString["addmode"];
if (addFlag == "true")
{
rgContract.MasterTableView.IsItemInserted = true;
rgContract.Rebind();
}
else
{
Session["lastClientAdded"] = null;
}
}
}
CODE FROM INSERCOMMAND:
protected void rgContract_InsertCommand(object source, GridCommandEventArgs e)
{
windowManagerContract.RadConfirm("Would you like to set up a new Account for this Contract?", "confirmCallBackFn", 350, 200, null, "Please confirm");
}