IExplorer 11 Null Reference Error in Radconfirm

4 posts, 0 answers
  1. Jens
    Jens avatar
    2 posts
    Member since:
    Jul 2016

    Posted 16 Nov Link to this post

    Hello,

    I am open Radconrim within onclick event in Coede Behind. Only in Iexplorer (Version 11) I get Null Reference error in set-animation.

    Here the code:

    ASP Page:

    <telerik:RadButton ID="ImgBtnDelete" runat="server" Width="120px" Text="Delete" OnClick="ImgBtnDelete_Click">
                        <Icon PrimaryIconCssClass="iconDelete" PrimaryIconLeft="4" PrimaryIconTop="4" />
    </telerik:RadButton>

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"
            VisibleStatusbar="False" Behavior="None" BorderStyle="None" KeepInScreenBounds="True">
    </telerik:RadWindowManager>

    function confirmCallBack_Delete(arg) {
                    if (arg) {
                        var ajaxManager = $find("<%= RadAjaxManagerDataCheckDetail.ClientID %>");
                        ajaxManager.ajaxRequest("confirmCallBack_Delete");
                        closeWindow();
                    }
    }

    <telerik:RadAjaxManager ID="RadAjaxManagerDataCheckDetail" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" OnAjaxRequest="RadAjaxManagerDataCheckDetail_OnAjaxRequest">
            <AjaxSettings>

    <telerik:AjaxSetting AjaxControlID="ImgBtnDelete">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ImgBtnDelete" />
                    </UpdatedControls>
                </telerik:AjaxSetting>

    </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Center"></telerik:RadAjaxLoadingPanel>

     

    Code Behind:

    protected void ImgBtnDelete_Click(object sender, EventArgs e)
            {
                RadWindowManagerDataCheckDetail.RadConfirm("Are you sure to Delete the DataCheck?", "confirmCallBack_Delete", 330, 100, null, "Are you sure?");
            }

    protected void RadAjaxManagerDataCheckDetail_OnAjaxRequest(object sender, AjaxRequestEventArgs e)
            {
                if (e.Argument == "confirmCallBack_Delete")
                {
                    DeleteDataCheck();
                }

            }

     

  2. Vessy
    Admin
    Vessy avatar
    1678 posts

    Posted 20 Nov Link to this post

    Hi Jens,

    I tested the provided configuration but no errors are thrown at my end. Can you, please, make sure that IE11 is not running in compatibility mode. I am asking you that as this mode is not supported and may lead to such errors.

    If this is not the case, please, try my test page (attached to this reply) and see if you are facing the same problem with.

    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Jens
    Jens avatar
    2 posts
    Member since:
    Jul 2016

    Posted 21 Nov Link to this post

    Hello Vessy,

    without the compatibility mode I have the same error.

    Regards

    Jens

     

  4. Vessy
    Admin
    Vessy avatar
    1678 posts

    Posted 23 Nov Link to this post

    Hi Jens,

    Are you facing the same issue with your own project or with the page attached in my previous reply? If the latter is true, can you, please share some more details on the matter? Can you confirm that you are using the latest version of the control like stated in the ticket info (2017.3.913)?


    Looking forward to your reply,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top