I have the text in the database: "My friends". How comparison to control (DropDownList), change to another language?In the database I want to keep the words "My friends"in GridView control, I wish that the words "My friends" should be replaced with "My Friends" in another language.Using DropDownList controls GridView controls I want to change everywhere, "My friends, into something else.
i developing multi language website using Master pages Page_Load i set the Text property of Button Control from Resource file
like this
Button1.Text = GetLocalResourceObject("Button1") then in the button click event i cnage the text of the Button control Button1.Text = GetLocalResourceObject("Button1_new") but the text doesn't change and no error messgae what is the problem how to solve this
I have created a web application and generated local resources. Its working when user select language from browser. But what i want is, when user select language from dropdown list, i want to change the pages according to selected language. i can save user selected language in a session. then how should I change/assign local resource file to web page?
I've a gridview with one textbox column and 1 label.
Based on language selection im changing master page and gridview will be bind with data based on language from database . When change the language the labels will be binding with data based on language . but textbox value is not binding properly.i.e;for example i've 2 languages English and Arabic . First i've logged with English Language gridview is binding correctly after chnage language to Arabic the textbox value is not binding is displaying with data previously whatever binded with english language. Other than this textbox remaining label data bindind with data in arabic language.
I'm not sure what is the best way to create website that allows user to change its language. The website is really small, it has couple of pages (Default.aspx, Location.aspx, Catalogue.aspx and Info.aspx), but I'm not sure how to change the language of the content. User can change the language by clicking on one of the four image buttons which then add "lang" query string to the url, but whenever page reloads it keeps adding more and more "lang" querystrings.
Like the title says, when I try to get a control (HiddenField) using this.Parent.FindControl it returns an exception. Curiosly this only happens when I change the browser language to Italian, English but not Spanish (I'm from Argentina so everything in my computer is spanish).
I used code below to set focus but never work. What is wrong?
Protected Sub btnOk_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOk.Click if textbox3.text = "NY" then textbox3.focus exit sub end sub
I have a Tab Container that has the OnClientClick set to a function that will set the focus on my textboxes when the user clicks the tab, however when the Tab Container first loads this doesn't get fired. If I click on the tab the text box gets focus, but I want to some how fire a click event on that tab so it sets the focus on that text box or some how get that focus on the page load event?
I'm able to change the language for my pages, however if I select french and I am on a current page and if I try to load another page, that page won't be in french. How can I set it so it is consistent throught?
Toggle Button in master page: If Page.Culture = "English (United States)" Then Response.Redirect(Request.Url.AbsolutePath + "?lang=fr-CA") ElseIf Page.Culture = "French (Canada)" Then Response.Redirect(Request.Url.AbsolutePath + "?lang=en-US") End If
and in every page:
Protected Overrides Sub InitializeCulture() Dim lang As String = String.Empty lang = Request.QueryString("lang") If lang IsNot Nothing Then Session("culture") = lang
How can I chnage the default language in a database? I'm running SMSSQL 2008 and I have not access to the server physical. I have to do this by SQL. I have vs 2010 and SQL Managment Studio
How is it possible to change the CurrencyGroupSeparator for a special language? It would be nice if i could change it once and the it will work on the entire site.
very first when the page loads the focus willl be on the next button, when i try to enter the text in the text box, focus changes from the next to the previous button (Previous button is the first button i have).
I have a text box in a gridview that is causing some problems with user input. The first time the user opens the page the gridview is populated with zero's in all rows textboxes. I set the focus to the first textbox in the Page_Load event but the cursor is placed to the left of the zero and when some users enter data they don't realize the zero doesn't go away so the first row ends up wrong. Once the tab or enter key is hit and the next row is selected, the zero is "selected", for lack of a better term like when the insert key is predded, and once the user starts typing only the new value remains. Is there a way to make the zero in the first row "selected" ?