Question:You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create an ASP.NET AJAX Web form in the application. You plan to configure the Web form to reference the following two validation script files:
Validation.js that displays messages in English
Validation.es-ES.js that displays localized messages in Spanish
You need to ensure that the configuration is performed on the basis of the UI Culture that is configured for the application.
Which code fragment should you use?

 

A <asp:ScriptManager ID="ScriptManager1" EnableScriptLocalization="true" runat="server">
<Scripts>
<asp:ScriptReference Path="Validation.js" />
</Scripts>
</asp:ScriptManager> 

B <asp:ScriptManager ID="ScriptManager1" EnableScriptLocalization="true" runat="server">
<Scripts>
<asp:ScriptReference Path="Validation.js" ResourceUICultures="es- ES" />
</Scripts>
</asp:ScriptManager> 

C  <asp:ScriptManager ID="ScriptManager1" EnableScriptLocalization="true" runat="server">
<Scripts>
<asp:ScriptReference Path="Validation.js" ResourceUICultures="en-US" />
<asp:ScriptReference Path="Validation.es-ES.js" ResourceUICultures="es-ES" />
</Scripts>
</asp:ScriptManager> 

D <asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" runat="server">
<Scripts>
<asp:ScriptReference Path="Validation.js" />
</Scripts>
</asp:ScriptManager> 

+ Answer
+ Report
Total Preview: 1357

Copyright © 2024. Powered by Intellect Software Ltd