We set EditModeFormat of WebDateTimeEdit to "hh:mm:ss tt" but the last AM and PM in spanish culture(es-CO) is truncating for ex "10:10:10 a." instead of "10:10:10 a.m.", this is working fine for en-US like 10:10:10 AM.Let me know what iam doing wrong.
Thanks
MuthuKumaraSamy,
is any ability to change tolltips in filtering without any triks with javascript? may be change resources or using globalization? i really need to set my own tooltips in filtering buttons!!!
Maybe you can try placing the code Ivan suggestion in a client-side event handler of the grid that fires after filter changes? I am currently taking a look at our CSOM client-side events here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR3.5/html/WebGrid_Client_Side_Events_CSOM.html
And I see several "AfterFilter..." events which might be exactly what you need? So that this code gets executed every time the filter is applied.
This btw might be a missing feature of the grid (alt tooltips for filters do not match the localized string). I believe this is a good moment to contact our official Developer Support channels and suggest this feature - chances are, that it will be implemented soon (or they might be able to suggest a solution that we might not know).
I tried this solution, it work well once the page is loaded, but if I select a different filter, the alt is set again and the script does not change it again.
Hello,
When you use the default buttons to select constraints for filtering you use image inside button that have attribute alt
<img operator="3" alt="Filter Equals"
src="/CultureProblemWithGridLabelProblem/WebResource.axd?d=UAK6_VFv1iPjJgBgqKpzHtr5f55RG1HxWclc41H5mDmMbdlAWa14_bJaW4sH0o2AWe8bWs8Ldy-18CQwWn9wv0y8gh9NahMY9ooCVwBRPFb8gtG4y9Hyus7bbg41U2l4CNkW0QUOjFfr4G2VZy62GvkQk0E4PJdxKXRFE8zJbulMlrFfa3z2HEg7Xq1diXnV0&t=633505139851665317"/>
And when mouse is over button display tooltip alt="Filter Equals", with JavaScript code below you can setup empty string for attribute alt
<ClientSideEvents MouseOverHandler="DisableTooltips" />
<script type="text/javascript">
function DisableTooltips(gridId,cellId,object){
if(cellId!=null){
var cell = igtbl_getCellById(cellId);
if(cell && cell.Type=="cell"){
cell.Element.firstChild.firstChild.alt="";
}
</script>
Hope this helps.