Hi,
I'm having problems with the WebDataGrid and WebDatePicker controls. In WebDataGrid I couldnt find out what I need to do to set grid's language to SPANISH (I want filters, date, etc, displays in SPANISH formats). In the WebDatePicker y set de Culture property to "es-ES" and it works perfect but, if I put both controls in the same page, I received the error "Specified cast is not valid".
This problem comes when I tried to put date data into a column that has a template that format that data to dd/MM/yyyy for example.
I will appreciate anything you could provide me.
Thanks a lot,
Gustavo.-
Hello Gustavo,
Thank you for posting in the Infragistics community !
Please set the Culture and CultureUI setting in your page directive (which applies to the whole application) and let me know if you still experience this issue:
<%@ Page Language="C#" UICulture="es-ES" Culture="es-ES" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
I have tested it and it seems to work fine. If issue still persist please provide the code that defines the template for this column and I will investigate this for you.
Hristo,
Your solution works perfect with format troubles but the filters of the grid still are in english ...
Do you know how can I set the language of the filters options or any displayed message inside the grid ??
gustavo.-
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
There should be both a WebDataGridStrings.resx and a WebDataGridStrings_runtime.resx files. I believe there should be strings to localize in both of the files,, so do not hesitate to follow the steps provided for both of the files.
Hristo, thanks a lot again. I have a question:
The word wizard that you send me say that I need WebDataGridStrings.resx but the strings that I need to change are on WebDataGridStrings_runtime.resx. The steps are the same as are described ???
For example, I need to translate:
I will be waiting your response before do anything wrong.
Regards,
Regarding displayed messages of grid on filtering and etc - this is not supported out of the box but can be implemented by customizing the WebDataGridStrings.resex file. A detailed explanation on how to do this can be found at
WebDataGrid Localization.zip
This is also discussed in the following threads:
http://es.infragistics.com/community/forums/p/24594/90382.aspx
http://es.infragistics.com/community/forums/t/52390.aspx
http://es.infragistics.com/community/forums/t/83662.aspx
Please let me know if you have further questions on the matter.