Global Resources Documentation

5 posts, 0 answers
  1. Adam
    Adam avatar
    70 posts
    Member since:
    Jun 2008

    Posted 08 Dec 2008 Link to this post

    Hey guys.  I've searched around on the forums and through the documentation a bit, but still haven't found this. 
    Our client needs to globalize every bit of text in the RadGrid and/or potentially all of the more elaborate controls (RadScheduler).
    I've looked through the properties for the RadGrid and I don't see any localization sections.  I've also looked through the installation folder and haven't found anything. 

    Are there any resource files in the source code to draw upon?  Is there anywhere in the documentation that would list each bit of text's resource key for the Grid?

    Thanks a lot,

    Adam.g
  2. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 11 Dec 2008 Link to this post

    Hello Adam,

    I recommend you examine our documentation (if you haven't already):
    RadGrid localization through resource files
    RadScheduler translating strings

    Please let us know if the provided information isn't sufficient.

    Best regards,
    Daniel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adam
    Adam avatar
    70 posts
    Member since:
    Jun 2008

    Posted 11 Dec 2008 Link to this post

    The link for the RadScheduler looks very helpful.  I have noticed that the scheduler tends to have a good deal more explicit localization options available.  Am I correct when I assume this does not exist for the RadGrid?  I haven't found any section quite like it.

    The RadGrid localization link is helpful, but I'm not having any trouble localizing any of those options.  Let me give you an example.

    If we're looking at the basic paging demo at Telerik Basic Paging Online Demo, how do we localize the Change Page:, Prev, Next, and Displaying page...items {0} to {1}, etc.  These don't seem to be explicit properties of the Grid but are definitely grid supplied.

    Thanks a lot for the assistance,

    Adam.g
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Dec 2008 Link to this post

    Hello Adam,

    Please check this article for more info:
    http://www.telerik.com/help/aspnet-ajax/grdusingpagettextformat.html

    Regards,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 13 Feb 2009 Link to this post

    Hi guys,
    I've been searching for ways to localize the grids in my application globally without damaging the ExportToPdf() function.

    I have to say this approach: http://www.telerik.com/help/aspnet-ajax/grdlocalizationthruresourcefiles.html might be the stupidest possible way.

    First you have to create the resx file and add all strings there, and then you have to manually call each string in the ItemCreated event.
    Why not just set the string directly in the ItemCreated event then and just skip creating the resx file?

    I've used the approach to declare a global SetupGrid() sub and reference it in my pages that use a grid, no need to use the itemCreated event at all. This works fine, until you want to ExportToPdf.

    The main problem is that you lose all translations on postback unless you call the SetupGrid() again.

    Regards,
    -DJ-
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017