469,338 Members | 8,424 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

resx file

I want to bind resx file(or xml) in gridview using xmldatasource.how to do...plz.
Jun 4 '07 #1
30 5609
Frinavale
9,735 Expert Mod 8TB
I want to bind resx file(or xml) in gridview using xmldatasource.how to do...plz.
Have you seen:
this article
or
this article

What have you tried so far?
Are you Sure you want to use resx files?
Using resx files seems to be way too low level for most applications.

-Frinny
Jun 4 '07 #2
ok..yes, i am going to use resx file only... how to display all fields of resx file in gridview..plz..
Jun 5 '07 #3
I want to view and edit the resx file on run time.how to do it..plz..
Jun 5 '07 #4
Frinavale
9,735 Expert Mod 8TB
ok..yes, i am going to use resx file only... how to display all fields of resx file in gridview..plz..
Karunajo I have no idea how to help you without doing research on the topic.

I just wanted to thank you for introducing me to resx files.
I'm researching them now. If I had known about them before it could have saved me a lot of time creating my own resource objects (mainly for languages).

Could you explain exactly what you want to do so that I can help you do the research on using resx files?

It seems to me that they are mainly used for implementing multiple languages. Are you having problems with this?

Thanks!

-Frinny
Jun 5 '07 #5
Frinavale
9,735 Expert Mod 8TB
Karunajo,

Check out this article supplied by MSDN on ASP.NET web page resources.

Specifically look at the section Implicit Localization in Templates. Its near the bottom of the article.

Does this help you?

-Frinny
Jun 5 '07 #6
plz..anybody can ans me for my prev post..its urgent...how to view and edit resx file in asp.net2.0 on runtime
Jun 6 '07 #7
Frinavale
9,735 Expert Mod 8TB
Karunajo,

Have you been following your other thread?

Please refrain from double posting your problem.
Jun 6 '07 #8
Frinavale
9,735 Expert Mod 8TB
plz..anybody can ans me for my prev post..its urgent...how to view and edit resx file in asp.net2.0 on runtime

I have been researching your problem in my spare for the last 2 days.
I don't think it is possible to do what you want because resx files are compiled much the same as ASP.NET files are compiled at runtime. This means that they are not in XML format when they are being used...so I don't think you can display them...I especially don't think that you can edit them...not in a DataGrid nor any other control.

-Frinny
Jun 6 '07 #9
Frinavale
9,735 Expert Mod 8TB
Karunajo,

Could you please explain why you are trying to let your web users edit the .resx files for your website.

There may be a way around this problem if you explain what you are trying to do exactly.

-Frinny
Jun 6 '07 #11
Actually i am going to use resx file like database..if i want to change the name of the label means,i go and make change in resx file..so i want to view the resx file in runtime..
Jun 7 '07 #12
Frinavale
9,735 Expert Mod 8TB
Actually i am going to use resx file like database..if i want to change the name of the label means,i go and make change in resx file..so i want to view the resx file in runtime..
When you change the label you should open the resx file in the XML Designer (If you are using Visual Studio 2005 just double click on the resx file), Find the name of the Label and change the value.

You cannot edit a resx file during run time because it is compiled much the same as an ASPX page is compiled by ASP.NET. You have to edit this file during development.

Are you having problems viewing the resx file in Visual Studio?
Are you using Visual Studio 2005?

-Frinny
Jun 7 '07 #13
Plater
7,872 Expert 4TB
This thread confuses me. My resx files are always empty. I very rarely add multimedia content into them.
Guess I'm just plain jane here, but wouldn't you want to be using the SETTINGS (under the properties folder)? That's where I keep things. Like UI color settings, connection strings and other usefull nuinsances
Jun 7 '07 #14
hi frinny,

yes i am using 2005.I can edit in design time..Its not a problem for me..I want to edit at run time..I think about customer,on run time they want to change label name means they want to go design page every time know...To avoid that i want to do in run time..Can u tel me some idea...plz...
Jun 7 '07 #15
Frinavale
9,735 Expert Mod 8TB
hi frinny,

yes i am using 2005.I can edit in design time..Its not a problem for me..I want to edit at run time..I think about customer,on run time they want to change label name means they want to go design page every time know...To avoid that i want to do in run time..Can u tel me some idea...plz...
Are you designing a site that lets the user develop their own website?
I don't quite understand how the user can change the name of a label.
You've probably already seen this site (I think I've thrown this link to you aready by now) but I keep looking up resx files and I keep finding the information here useful in understanding resx files...

MSDN's Article on Resources in .Resx File Format

Could you explain what your project is supposed to do?

:)

-Frinny
Jun 7 '07 #16
Actually i am using resx file to make changes without touching aspx file...tats why i want to view it in runtime
Jun 8 '07 #17
Frinavale
9,735 Expert Mod 8TB
Actually i am using resx file to make changes without touching aspx file...tats why i want to view it in runtime
If you're not changing the aspx file.....then how is the label's name changed??
Jun 8 '07 #18
Ya it will change..it s enough to change in resx file the aspx also will change..
Jun 9 '07 #19
Now i decited to use resx editor..can you help me...if u find resx editor for asp.net2.0..tell me..
Jun 9 '07 #20
Frinavale
9,735 Expert Mod 8TB
Now i decited to use resx editor..can you help me...if u find resx editor for asp.net2.0..tell me..
You should be able to just use Visual Studio. It has a resx editor built in.
Jun 10 '07 #21
How to use it..Is it able to edit on runtime..
Jun 11 '07 #22
Plater
7,872 Expert 4TB
How to use it..Is it able to edit on runtime..
You are aware that that is a tremendus security flaw right?
Jun 11 '07 #23
Frinavale
9,735 Expert Mod 8TB
How to use it..Is it able to edit on runtime..
You can't edit them at runtime.
They are compiled into binary which your system then uses.
It's impossible.

All you do is open your project and double click on the resx file...it will open and show you 3 columns Name, Value, and Comments. Look up (or add) the name of your label in the resx file and then add the value that's supposed to appear in the label.

Unless of course, you're using a satellite assembly?

-Frinny
Jun 11 '07 #24
i need resx editor in web version.i did search in net but i got only in windows version..plz urgent..
Jun 11 '07 #25
RedSon
5,000 Expert 4TB
i need resx editor in web version.i did search in net but i got only in windows version..plz urgent..
Please do not double post your questions. You have already started a thread about resx files. You do not need to start another about the same topic. Please do not do this again. You also need to read the Posting Guidelines located at the top of your page under the Help link.

-MODERATOR

EDIT: I'm merging all of your threads on this topic into one topic. If you have any more questions about resx files you can use this thread. You do not need to make another thread unless you have a separate topic.
Jun 11 '07 #26
Frinavale
9,735 Expert Mod 8TB
Ya it will change..it s enough to change in resx file the aspx also will change..
This just occurred to me,

Are you trying to change the text inside a label??? (not the name of the label, just the text in the label)

Do you just want to change the text that the label displays based on what is in the resx file according to some user selection?

-Frinny
Jun 11 '07 #27
I did it in design time..I need resx editor in web version.I did search in net but i got only in windows version..plz help me..
Jun 12 '07 #28
Plater
7,872 Expert 4TB
I think the help you need is not something you can find here for this particular question.
I think the help you need is a new design outlook, i.e. a different way to accomplish the goal you desire
Jun 12 '07 #29
plz tel me how to do multi language using resources..urgent...
Jun 12 '07 #30
MMcCarthy
14,534 Expert Mod 8TB
karunajo

Please stop asking the same question over and over again. The experts are trying to help you but you are not responding fully to the posts they are making. If you cannot follow the advice given by the experts and respond fully to their posts there is no point in continuing this thread.

Please read the posts of the various experts again and try to answer their questions fully. Otherwise they will be unable to help you further.

ADMIN
Jun 12 '07 #31

Post your reply

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

Similar topics

reply views Thread by David Krussow | last post: by
3 posts views Thread by Servé La | last post: by
reply views Thread by prabhupr | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.