When uploading a file using AsyncUpload, the delete button correctly uses the string I set up for localization. However, after a postback, the same button does not get translated.
The code I'm using resembles this one below.
I found out that the method _marshalUploadedFiles inside RadAsyncUploadScripts.js uses a hard-coded string in English to generate the button. It does not want to use the localization.
The code I'm using resembles this one below.
I found out that the method _marshalUploadedFiles inside RadAsyncUploadScripts.js uses a hard-coded string in English to generate the button. It does not want to use the localization.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
runat
=
"server"
/>
<
telerik:RadAsyncUpload
Localization-Remove
=
"Supprimer"
runat
=
"server"
ID
=
"upload"
PostbackTriggers
=
"btn2"
></
telerik:RadAsyncUpload
>
<
asp:Button
runat
=
"server"
Text
=
"Intermediate postback"
ID
=
"btn1"
/>
<
asp:Button
runat
=
"server"
Text
=
"Final postback"
ID
=
"btn2"
/>
</
form
>
</
body
>
</
html
>