473,322 Members | 1,510 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,322 software developers and data experts.

cant localize webdatagrid header

I am trying to localize the header fields in WebDataGrid. I have tried using document presented by olga but it doesn't localize the headers in my WebDataGrid.
I am using following code

Expand|Select|Wrap|Line Numbers
  1. <Header Text="<%$ Resources:ResourceFile.aspx.de-DE.resx, Name%>" />
It throws me an error saying , resource key name not found, though its been declared in the ResourceFile.

Could you help me with the proper code?
Apr 18 '12 #1
3 2311
Frinavale
9,735 Expert Mod 8TB
Your code is incorrect.

You shouldn't be trying to access a particular resource file like you are (you're trying to access the "de-DE" file directly).

ASP.NET will determine the correct resource to use according to the browser's language/culture settings.

The MSDN Library has a lot of useful documentation and articles to help you while developing in .NET. For example there are many articles on the topic of Globalization/Localization that you can find there. There is even a Walkthrough: using resources.

Check out these resources to get a better understanding of this topic and how to use localization/globalization in Asp.NET

-Frinny
Apr 18 '12 #2
can you please suggest me what do i use as a resource because any file name or resource i give it throws me the same error.
can you please tell me is this the correct way of localizing the header fields of webdatagrid??
Apr 19 '12 #3
i would also like to mention i am using infragistics webdatagrid.
Apr 19 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Michael | last post by:
I have a data application in a2k that I need to create two fixed width text files and then combine them to a single file The first file is header information and the second is transaction data. ...
5
by: Jerry | last post by:
Does dot net frame prevoid any support for localizing Enum memebers? For example: enum Alignment { Left, Right } string left = Alignment.Left.ToString(); left is "Left", how to localize it?
0
by: batista | last post by:
Hi there, I'm developing a website that is in 2 languages english and arabic. Now I wanted to have fixed header scrollable datagrid. For scrolling i found a solution which works fine. But...
2
by: DCC700 | last post by:
VS 2005 Converted Header causing error when publishing After converting from Visual Studio 2003 to 2005, I have had several issues with a header that is used throughout the project. The...
1
by: abureach | last post by:
Hi, I cant able to direcly open the file in IE(force download) the follwing code is not working in IE. Please help me my coding is if(ini_get('zlib.output_compression'))
0
by: Goofy | last post by:
Whats the difference between these two ?, I cant seem to see the advantages of one from another ? -- Goofy
19
by: Justin | last post by:
Harlow... i need some help on these... im actually trying to do a page using php... the function is to receive certain parameters from a 3rd party provider... and i need to redirect my page to...
2
by: VeeraLakshmi | last post by:
Can anybody tell me how to get or read the value of transfer encoding. I got the HTTP Response header as "Transfer-Encoding: chunked".But i can't get the chunk size or the chunked data. Without...
22
by: dfm | last post by:
Hi, I cant change the header to display images from a database. It's giving me this error : Warning: Cannot modify header information - headers already sent by (output started at...
66
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it...
0
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...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.