473,657 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Treeview different languages

Hello

I am developing a multi-lingual web site where users can change the language
on-the-fly. Now I have created a treeview that will be used as a navigation
menu. The users can offcourse expand nodes but the problem is that when
users change the languages I need to reload the treeview but the expanded
nodes need to stay expanded. The items in the treeview are not fixed but are
pulled from a data source.

Eg:

Selected language = English

--- File 1
------ File 1.1
--- File 2
--- File 3
--- File 4
------ File 4.1
------ File 4.2
--------- File 4.2.1

User changes language to Dutch:

--- Dossier 1
------ Dossier 1.1
--- Dossier 2
--- Dossier 3
--- Dossier 4
------ Dossier 4.1
------ Dossier 4.2
--------- Dossier 4.2.1

Someone has done this before and can give me some tips?

Gabriel Lozano-Morán
Software Engineer
Sogeti
Nov 19 '05 #1
0 968

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
20062
by: Brian Smith | last post by:
Is there a way to avoid the default action of TreeNode expansion/contraction caused by double click? I can add an event handler to pop up my properties dialog on double click, but it has the unintended side-effect of toggling the expansion of that subtree. Thanks in advance, Brian
3
3232
by: Soul | last post by:
Hi, I am learning C# at the moment. I am trying to develop a simple program that will get data from a MS Access database into a dataSet. The result of dataSet should be something like: Year Semester Code Task --------------------------------------------------- "2003" "One" "CSE9020" "Deliverable Item 1" "2003" "One" "CSE9020" "Deliverable Item 2"
1
15542
by: Rasmus | last post by:
I need to grab focus to a specific node i my treeview when I click on my listbox. Here's the code that differs between the different event i the listBox: private void listBox1_SelectedIndexChanged(object sender, System.EventArgs e) { string selected; selected = this.listBox1.SelectedItem.ToString(); if(selected == "Error in Supercell 1") {
3
2164
by: Peter | last post by:
Hello Thanks for reviewing my question. I would like to know how can I programmatically select a node Thanks in Advanc Peter
0
247
by: Gabriel Lozano-Morán | last post by:
Hello I am developing a multi-lingual web site where users can change the language on-the-fly. Now I have created a treeview that will be used as a navigation menu. The users can offcourse expand nodes but the problem is that when users change the languages I need to reload the treeview but the expanded nodes need to stay expanded. The items in the treeview are not fixed but are pulled from a data source. Eg:
14
6816
by: Evan Kontos | last post by:
I am trying to implement a Treeview w/an XML file and I even copied and pasted examples from MSDN but can't get them to work. Any suggestions welcome. XML File <TREENODES> <TREENODE TEXT="Document-1"> <TREENODE TEXT="Folder-1" EXPANDED="true"> <TREENODE TEXT="Document-2" />
1
9194
by: K Hayes | last post by:
Hi All, Newish VB.NET programmer seeking help! I have a TreeView with a node that I wish to drag and drop to a Textbox. In the Treeview_ItemDrag i have
1
341
by: Larry Pits | last post by:
Hi All, I tried to add a treeview control onto my windows Form and I set the name of the treeview to otree1 and id to oletreeview1. In the test.aspx.vb, I want to add nodes to the tree and I am struck and confused. It's not the same a the old Visual Basic. Could someone help me out? TIA
5
1549
by: A-PK | last post by:
Hi, I am using treeview as my menu. my menu is like the following + Users & Groups - Users -Groups + Departmenuts - Engineering
3
5639
balabaster
by: balabaster | last post by:
Hey guys and gals, I'm not sure if this is the simplest way to do this or if someone can throw any other ideas out there. I'm looking to build a treeview inside a listbox...or have a multicolumn treeview. Having done some research it seems there was some rather extensive and laborious methods for achieving such an effect in VB6 but none of them satisfactory and the only method I can find that looks anywhere near like it might possibly be...
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8737
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.