Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Customize AjaxFileUpload messages and language

$
0
0

Hi,

I've added an AjaxFileUpload to my page, and it is working fine except for the localization, that remains in English as much as I try.

I have a Calendar Extender on my page that is working fine and in my language (portuguese), so I can't figure out where the problem might be coming from.

I have this in my web.config:

 <globalization culture="pt-PT" uiCulture="pt-PT"
       requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"
        fileEncoding="iso-8859-1" />

And this in my toolkit script manager

    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true">
    </asp:ToolkitScriptManager>

My file upload is as simples as it can get:

<asp:AjaxFileUpload ID="fileUpload" runat="server" />

Any ideas on why is not working?

Also, any idea on how I can customize the error messages for each file? I want to tell the user exactly why the file was rejected and not a general error message.

Thanks in advance,


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>