Hello,
Could you please send a little bit more information about the UltraWebGrid declaration. ASPX declaration, code-behind or sample project - anything that can get us started is welcome. There can be many reasons for that issue.
Thanks.
<igtbl:UltraWebGrid ID="dtgFacturas" runat="server" Height="350px" Width="720px" OnClickCellButton="dtgFacturas_ClickCellButton" meta:resourcekey="dtgFacturasResource1" Browser="Xml"> <Bands> <igtbl:UltraGridBand> <HeaderStyle Height="5px" VerticalAlign="Middle" Width="0px" /> <SelectedRowStyle BorderStyle="None" /> <RowEditTemplate> <p align="center"> <input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="OK" /> <input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="Cancel" /></p> </RowEditTemplate> <RowExpandEffects Duration="0" Opacity="0" ShadowColor="Transparent" Type="Fade" /> <FixedCellStyle BorderStyle="None"> </FixedCellStyle> <AddNewRow View="NotSet" Visible="NotSet"> </AddNewRow> <FilterOptions AllowRowFiltering="OnClient" AllString="Todos" ApplyOnAdd="True" ContainsString="Contiene" DoesNotContainString="No contiene" DoesNotEndWithString="No termina con" DoesNotStartWithString="No se inicia con" EmptyString="(Vacío)" EndsWithString="Termina con" EqualsString="Igual" FilterUIType="FilterRow" GreaterThanOrEqualsString="Superior o igual a" GreaterThanString="Mayor que" LessThanOrEqualsString="Inferior o igual a" LessThanString="Menos que" LikeString="Similar a" NonEmptyString="No Vaciar" NotEqualsString="No Igual" NotLikeString="No similar a" StartsWithString="Se inicia con"> </FilterOptions> <Columns> <igtbl:UltraGridColumn BaseColumnName="NumeroFactura" Key="NumeroFactura" Type="Button"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Factura"> </Header> <CellStyle Font-Underline="True" HorizontalAlign="Center"> </CellStyle> <CellButtonStyle BackColor="White" BorderWidth="0px" Cursor="Hand" Font-Underline="True" HorizontalAlign="Center"> </CellButtonStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="TipoFactura" Key="EnviarValores" Width="150px"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Tipo"> <RowLayoutColumnInfo OriginX="1" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="1" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="ClaseFactura" Width="100px"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Clase"> <RowLayoutColumnInfo OriginX="2" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="2" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="FechaFactura" Key="FechaFactura"> <HeaderStyle Font-Bold="True" HorizontalAlign="Center" Wrap="True" /> <Header Caption="Fecha Pago (DD/MM/AAAA)"> <SelectedStyle HorizontalAlign="Center"> </SelectedStyle> <RowLayoutColumnInfo OriginX="3" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="3" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> <SelectedHeaderStyle HorizontalAlign="Center"> </SelectedHeaderStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="Concepto" Key="Concepto" Width ="150"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Concepto"> <RowLayoutColumnInfo OriginX="4" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="4" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn CellButtonDisplay="Always" Type="Button"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Detalle Pago"> <RowLayoutColumnInfo OriginX="5" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="5" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> <CellButtonStyle BackgroundImage="./imgDetalle.gif" BorderWidth="0px" Cursor="Hand" Font-Italic="True" Height="15px" Width="16px"> <BorderDetails StyleBottom="None" StyleLeft="None" StyleRight="None" StyleTop="None" /> </CellButtonStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn CellButtonDisplay="Always" Key="DetallePago" Type="Button"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Detalle Factura"> <RowLayoutColumnInfo OriginX="6" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="6" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> <CellButtonStyle BackgroundImage="./imgDetalle.gif" BorderStyle="None" BorderWidth="0px" Cursor="Hand" Height="15px" Width="16px"> <BorderDetails StyleBottom="None" StyleLeft="None" StyleRight="None" StyleTop="None" /> </CellButtonStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="ValorNeto" Key="ValorNeto"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Valor Neto"> <SelectedStyle HorizontalAlign="Right"> </SelectedStyle> <RowLayoutColumnInfo OriginX="7" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="7" /> </Footer> <CellStyle HorizontalAlign="Right"> </CellStyle> <SelectedHeaderStyle HorizontalAlign="Right"> </SelectedHeaderStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="ValorNetoMonedaOriginal" Key="ValorNetoMonedaOriginal"> <HeaderStyle HorizontalAlign="Center" Wrap="True" /> <Header Caption="Moneda Original"> <SelectedStyle HorizontalAlign="Right"> </SelectedStyle> <RowLayoutColumnInfo OriginX="8" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="8" /> </Footer> <CellStyle HorizontalAlign="Right"> </CellStyle> <SelectedHeaderStyle HorizontalAlign="Right"> </SelectedHeaderStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="EstadoFactura" Key="EstadoFactura"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Estado"> <RowLayoutColumnInfo OriginX="9" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="9" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="FechaEstadoFactura" Key="FechaEstadoFactura"> <HeaderStyle HorizontalAlign="Center" /> <Header Caption="Fecha Estado"> <RowLayoutColumnInfo OriginX="10" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="10" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="FechaPagoProgramado" Key="FechaPagoProgramado"> <HeaderStyle HorizontalAlign="Right" Wrap="True" /> <Header Caption="Fecha Programada"> <RowLayoutColumnInfo OriginX="11" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="11" /> </Footer> <CellStyle HorizontalAlign="Center"> </CellStyle> </igtbl:UltraGridColumn> </Columns> <RowStyle BorderColor="Transparent" BorderStyle="None"> <BorderDetails ColorBottom="Transparent" ColorLeft="Transparent" ColorRight="Transparent" ColorTop="Transparent" /> </RowStyle> <RowSelectorStyle BorderStyle="None"> </RowSelectorStyle> <RowTemplateStyle BackColor="White" BorderColor="White" BorderStyle="None"> <BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" /> </RowTemplateStyle> </igtbl:UltraGridBand> </Bands> <DisplayLayout Version="4.00" Name="dtgFacturas" BorderCollapseDefault="Separate" RowHeightDefault="20px" AutoGenerateColumns="False" AllowSortingDefault="OnClient" RowSelectorsDefault="No" HeaderClickActionDefault="SortMulti" JavaScriptFileNameCommon="" RowsRange="20" StationaryMargins="Header" TableLayout="Fixed" > <ActivationObject BorderWidth="" BorderColor=""> </ActivationObject> <FilterOptionsDefault AllowRowFiltering="OnClient" FilterUIType="FilterRow" EqualsString="Igual" LikeString="Contiene" NotEqualsString="No igual" NotLikeString="No Contiene"> </FilterOptionsDefault> <FrameStyle Width="720px" Height="350px"> </FrameStyle> <Pager PageSize="20"> </Pager> </DisplayLayout> </igtbl:UltraWebGrid>
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.
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.
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).
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!!!
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,