resx file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karunajo
    New Member
    • May 2007
    • 37

    #1

    resx file

    I want to bind resx file(or xml) in gridview using xmldatasource.h ow to do...plz.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by karunajo
    I want to bind resx file(or xml) in gridview using xmldatasource.h ow 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

    Comment

    • karunajo
      New Member
      • May 2007
      • 37

      #3
      ok..yes, i am going to use resx file only... how to display all fields of resx file in gridview..plz..

      Comment

      • karunajo
        New Member
        • May 2007
        • 37

        #4
        resx file

        I want to view and edit the resx file on run time.how to do it..plz..

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          Originally posted by karunajo
          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

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            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

            Comment

            • karunajo
              New Member
              • May 2007
              • 37

              #7
              plz..anybody can ans me for my prev post..its urgent...how to view and edit resx file in asp.net2.0 on runtime

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                Karunajo,

                Have you been following your other thread?

                Please refrain from double posting your problem.

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #9
                  Originally posted by karunajo
                  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

                  Comment

                  • Vidhura
                    New Member
                    • May 2007
                    • 99

                    #10
                    Refer..Hope this is what you looking for
                    http://msdn2.microsoft.com/en-us/library/ms227982.aspx

                    http://msdn2.microsoft.com/en-us/lib...et20rpm_topic5
                    Last edited by Vidhura; Jun 6 '07, 02:32 PM. Reason: Adding another link

                    Comment

                    • Frinavale
                      Recognized Expert Expert
                      • Oct 2006
                      • 9749

                      #11
                      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

                      Comment

                      • karunajo
                        New Member
                        • May 2007
                        • 37

                        #12
                        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..

                        Comment

                        • Frinavale
                          Recognized Expert Expert
                          • Oct 2006
                          • 9749

                          #13
                          Originally posted by karunajo
                          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

                          Comment

                          • Plater
                            Recognized Expert Expert
                            • Apr 2007
                            • 7872

                            #14
                            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

                            Comment

                            • karunajo
                              New Member
                              • May 2007
                              • 37

                              #15
                              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...

                              Comment

                              Working...