Unplanned
Last Updated: 03 Dec 2021 12:59 by ADMIN
Gandhi
Created on: 03 Dec 2021 12:59
Category: StyleSheetManager
Type: Bug Report
3
"The cryptographic operation has failed!" error when showing a hidden control and there is RadStyleSheetManager and EnableHandlerEncryption=true

Repro: 

<telerik:RadStyleSheetManager runat="server"></telerik:RadStyleSheetManager>

<asp:UpdatePanel runat="server">
    <ContentTemplate>
        <asp:Button Text="Postback" OnClick="Unnamed_Click" runat="server" />
        <telerik:RadButton runat="server" Visible="false" ID="RadButton1" Text="Telerik button" AutoPostBack="true" />
    </ContentTemplate>
</asp:UpdatePanel>

protected void Unnamed_Click(object sender, EventArgs e)
{
    RadButton1.Visible = true;
}

<add key="Telerik.ScriptManager.EnableHandlerEncryption" value="true" />

 

Workaround:

Temporarily set EnableHandlerEncryption to false or do not use a StyleSheetManager

<add key="Telerik.ScriptManager.EnableHandlerEncryption" value="false" />

0 comments