RadConfirm in Edit Mode Freezes Screen

2 posts, 0 answers
  1. Michele
    Michele avatar
    1 posts
    Member since:
    Mar 2016

    Posted 29 Mar 2016 Link to this post

    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");

    }

     

  2. Eyup
    Admin
    Eyup avatar
    3100 posts

    Posted 01 Apr 2016 Link to this post

    Hi Michele,

    Please temporarily disable any AJAX on the page if present (RadAjaxManager, RadAjaxPanel, UpdatePanel, etc.) and enable your script debugger (FireBug or F12) to see whether there are any script or server errors interfering.

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top