Home Search Member List Faq Register Login  
UltimatePanel
Re: Change language

Thread Starter: Marinus   Started: 05-31-2007 8:18 AM   Replies: 3
 Karamasoft Support Forums » General Discussions » UltimatePanel » Re: Change language
 Printable Version    « Previous Thread   Next Thread »
  31 May 2007, 8:18 AM
Marinus is not online. Last active: 6/20/2007 6:55:22 AM Marinus

Top 10 Posts
Joined on 04-03-2007
Posts 21
Change language

In my Web-application I use the possibility to change language/culture.
Most labels can appear in different languages because they are connected with a keyword in a resourcefile.
Text="<%$ Resources:Resource, Delete%>"

How could I change the language for the Karamasoft menu-items in my UltimatePanel?


  
  31 May 2007, 12:20 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Change language
One way would be to define multiple panel XML files for each language and set PanelSource property to the right language depending on the current culture language. The second way would be to dynamically generate PanelSourceXml property based on the current culture language. Please visit http://www.karamasoft.com/UltimatePanel/UltimatePanel.aspx to see UltimatePanel control properties.
  
  01 Jun 2007, 7:07 AM
Marinus is not online. Last active: 6/20/2007 6:55:22 AM Marinus

Top 10 Posts
Joined on 04-03-2007
Posts 21
Re: Change language
Where is the best moment/place to choose/change the right xml-file?

There is a
protected override void InitializeCulture() on the page, or is it better to do it in the protected void Page_Load(object sender, EventArgs e)?

 


  
  01 Jun 2007, 12:50 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Change language
You can set the right XML file in Page_Load event handler.
  
 Page 1 of 1 (4 items)
Karamasoft Support Forums » General Discussions » UltimatePanel » Re: Change language

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2020 Karamasoft LLC. All rights reserved.