This is a migrated thread and some comments may be shown as answers.

IExplorer 11 Null Reference Error in Radconfirm

3 Answers 48 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jens
Top achievements
Rank 1
Iron
Jens asked on 16 Nov 2017, 09:37 AM

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();
            }

        }

 

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 20 Nov 2017, 03:27 PM
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.
0
Jens
Top achievements
Rank 1
Iron
answered on 21 Nov 2017, 12:56 PM

Hello Vessy,

without the compatibility mode I have the same error.

Regards

Jens

 

0
Vessy
Telerik team
answered on 23 Nov 2017, 10:24 AM
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.
Tags
Window
Asked by
Jens
Top achievements
Rank 1
Iron
Answers by
Vessy
Telerik team
Jens
Top achievements
Rank 1
Iron
Share this question
or