ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you set language in web.cofig ?
 Question Submitted By :: Neelam
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you set language in web.cofig ?
Answer
# 1
?  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 ?    3 Yes 0 No
Ram
 
  Re: How do you set language in web.cofig ?
Answer
# 2
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 ?    1 Yes 0 No
Shenil Tom
 
 
 
  Re: How do you set language in web.cofig ?
Answer
# 3
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 ?    2 Yes 0 No
Shaik Mujahid Ullah
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How to implement caching? Microsoft1
hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance  3
if u r projet consist of 4 people means how can u manage the file Mind-Tree8
How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code? LG-Soft1
Which control would you use if you needed to make sure the values in two different controls matched?  3
what are the differences between windows services and web services? Tech-Mahindra3
About delegates ? TCS7
which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row Aviva3
Can you store dataset in viewstate? Microsoft3
What is SOAP, UDDI and WSDL ? Infosys1
What is interval time of GC in .net  2
What is the difference between and ActiveX dll and control ? Microsoft1
i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this.... TCS3
how to write code for role based security  2
What is three major points in WCF?  4
My website has around 100 aspx. Out of this, a certain 20 aspx files should be made available to the users only if they are logged in. How can I achieve this with the web.config file? Techno-Solutions1
what are the attributes of sitemapnode? Satyam3
Can i have both C# and vb.net code in same assembly?how? Wipro4
what is differences between bind and eval?  1
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler? Visual-Soft3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com