473,326 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Localisation Toolkit and Repeater controls

I am currently using the localisation toolkit to provide a
multi-language site, everything works just fine. But now I need to use
a repeater to generate some lists. How can I achieve this? All the
items are stored in the resource files, all the references to the
items in the resources are to be used to feed the Repeater control.

Can I use the Toolkit to grab individual key values
(programmatically), i.e. whilst in the OnItemCreated or
OnItemDataBound events.

Thanks
Nov 18 '05 #1
1 1319
in how many language s r u creating ur application..
even i am creating one..

did u convert ur resources into satellite assemblies...

i used the following code...
rm=(ResourceManager)Application["RM"];

// CultureInfo ciIN=new CultureInfo("hi-IN");

// CultureInfo cienNZ=new CultureInfo("en-NZ");

//

// CultureInfo ci= new
CultureInfo(Thread.CurrentThread.CurrentUICulture. Name);

//

// en.InnerText=rm.GetString("language",CultureInfo.I nvariantCulture);

// de.InnerText=rm.GetString("language",ciIN);

// nz.InnerText=rm.GetString("language",cienNZ);

//

// lblWelcome.Text=rm.GetString("welcome",ci);

// lblFirstName.Text = rm.GetString("firstname",ci);

// lblLastName.Text = rm.GetString("lastname",ci);

// lblDOB.Text = rm.GetString("dob",ci);

// lblMonthName.Text=rm.GetString("monthnames",ci);

we need to convert all our controls to server side ..
is it true...
so that we can translate appropriately....
please can u share ur experiences

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)
"Tony" <qu*******@resolutionsnet.co.uk> wrote in message
news:bb**************************@posting.google.c om...
I am currently using the localisation toolkit to provide a
multi-language site, everything works just fine. But now I need to use
a repeater to generate some lists. How can I achieve this? All the
items are stored in the resource files, all the references to the
items in the resources are to be used to feed the Repeater control.

Can I use the Toolkit to grab individual key values
(programmatically), i.e. whilst in the OnItemCreated or
OnItemDataBound events.

Thanks

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004
Nov 18 '05 #2

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

Similar topics

2
by: theComputer7 | last post by:
I cut down the code to make this half way understandable... I have read Data Grid girls caution about over use of dynamic controls. I truly believe what I am doing requires dynamically inserted...
1
by: Fraggle | last post by:
I have a repeater with controls added at run time. the <template> also contains a <asp:textbox that is made visible on some repeater elements. when I come to read the text info out it has...
8
by: Invalidlastname | last post by:
Hi, We are developing an asp.net application, and we dynamically created certain literal controls to represent some read-only text for certain editable controls. However, recently we found an issue...
0
by: John Crowley | last post by:
I'm having an odd problem with viewstate and a dynamically created control inside a repeater template. Basically, I have a repeater setup like this in the aspx:
7
by: charliewest | last post by:
Hello - I'm using a Repeater control to render information in a very customized grid-like table. The Repeater control is binded to a DataSet with several records of information. Within the...
2
by: Nemo | last post by:
Hi, I have i fishy problem when I have e Repeater with user controls. page_load { if (!isPostBack) { repeater.databind(); }
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
7
by: | last post by:
I have what's probably a simple page lifecycle question related to dynamically evaluating values that are placed by a repeater and dynmically placing user controls that use those values. I'm...
12
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I'm doing a web app in VB/Dot Net 2.0. I'm probably a bit rusty and I have no experience using the repeater control. I have a user control I've created with multiple properties. I've created a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.