How do you set language in web.cofig ?
Answers were Sorted based on User's Feedback
Answer / ram
? To set the UI culture and culture for all pages, add a
globalization section to the Web.config file, and then set
the uiculture and culture attributes, as shown in the
following example:
<globalization uiculture="es" culture="es-MX" />
? To set the UI culture and culture for an individual page,
set the Culture and UICulture attributes of the @ Page
directive, as shown in the following example:
<%@ Page UICulture="es" Culture="es-MX" %>
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / shenil tom
add a
<system.web>
<globalization uiculture="" culture="" />
in the web. config section
or set both through dynamic coding..
Eg:
set uiculture in InitializeCulture page method override.
protected override void InitializeCulture()
{
this.UICulture = "he";
}
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / shaik mujahid ullah
Setting up a language are of 2 types
one is compilation language of webapplication for which
you can try with this code
<configuration>
<system.web>
<compilation defaultLanguage"VB"></compilation>
</system.web>
</configuration>
Second is regional / culture language it can be set with
the following code
<system.web>
<globalization uiCulture="en" culture="en-GB" />
<!-- more stuff-->
</system.web>
| Is This Answer Correct ? | 9 Yes | 1 No |
How can we Validate a Controls in ASP.NET page using JavaScript?
When should I use server transfer and response redirect?
What is web.config. How many web.config files can be allowed to use in an application?
6 Answers Accenture, HCL, InterGraph, iSoft,
Differentiate between Server Transfer and Response Redirect?
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example?
when using personlization, how do you access over setting at runtime?
How will u decide when to use caching and when to use viewstate?
What are strong names?
What is difference between cookies and cache?
what is machine key error in asp.net? how to solve it?
To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)