473,503 Members | 1,979 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 959

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

Similar topics

6
20042
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...
3
3222
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 ...
1
15526
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...
3
2147
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...
14
6791
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...
1
9183
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...
5
1533
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
5623
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...
0
7205
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,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7006
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5592
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,...
0
4685
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...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.