Hi,
i´m using Telerik 2014.1.403.35 and my Datasource is a DataTable (MSSQL)
<telerik:RadGrid EnableLinqExpressions="true" OnItemDataBound="RadGrid_ItemDataBound" OnItemCommand="RadGrid1_ItemCommand" ID="rgAbrechnungen" runat="server" GridLines="None" AutoGenerateColumns="False" Skin="Default" AllowSorting="true" AllowFilteringByColumn="true">
<telerik:GridTemplateColumn UniqueName="zeichnungssumme" AutoPostBackOnFilter="true" ShowFilterIcon="false" SortExpression="Zeichnungssumme" DataField="Zeichnungssumme" HeaderText="Zeichnungssumme" DataType="System.Decimal" ItemStyle-HorizontalAlign="right" HeaderStyle-HorizontalAlign="right">
<ItemTemplate>
<%#Eval("Zeichnungssumme", "{0:#,0.00}")%> EUR
</ItemTemplate>
</telerik:GridTemplateColumn>
When i´m trying to filter for a decimal value (for example: 7143,05) and EnableLinqExpressions is true,
the filtering working correctly.
But if i set the EnableLinqExpressions to false, and enter my decimal value (7143,05) in my filterbox and push return, my page do a postback, but nothing more happens.
It should filter my Values and show me the one existing row with my entered value like with EnableLinqExpressions="true".
I need to set EnableLinqExpressions to false cause if i don´t, a lot of exceptions where thrown.
For example my datetime column:
If i don´t type the correct format (dd.mm.yyyy) my grid throws a exception with "no correct DateTime format".
Further, if i try to filter my System.decimal column and type something like "10.000,05", it throws an "Identifier expected" exception.
Thanks in advance
Marc Beckord
i´m using Telerik 2014.1.403.35 and my Datasource is a DataTable (MSSQL)
<telerik:RadGrid EnableLinqExpressions="true" OnItemDataBound="RadGrid_ItemDataBound" OnItemCommand="RadGrid1_ItemCommand" ID="rgAbrechnungen" runat="server" GridLines="None" AutoGenerateColumns="False" Skin="Default" AllowSorting="true" AllowFilteringByColumn="true">
<telerik:GridTemplateColumn UniqueName="zeichnungssumme" AutoPostBackOnFilter="true" ShowFilterIcon="false" SortExpression="Zeichnungssumme" DataField="Zeichnungssumme" HeaderText="Zeichnungssumme" DataType="System.Decimal" ItemStyle-HorizontalAlign="right" HeaderStyle-HorizontalAlign="right">
<ItemTemplate>
<%#Eval("Zeichnungssumme", "{0:#,0.00}")%> EUR
</ItemTemplate>
</telerik:GridTemplateColumn>
When i´m trying to filter for a decimal value (for example: 7143,05) and EnableLinqExpressions is true,
the filtering working correctly.
But if i set the EnableLinqExpressions to false, and enter my decimal value (7143,05) in my filterbox and push return, my page do a postback, but nothing more happens.
It should filter my Values and show me the one existing row with my entered value like with EnableLinqExpressions="true".
I need to set EnableLinqExpressions to false cause if i don´t, a lot of exceptions where thrown.
For example my datetime column:
If i don´t type the correct format (dd.mm.yyyy) my grid throws a exception with "no correct DateTime format".
Further, if i try to filter my System.decimal column and type something like "10.000,05", it throws an "Identifier expected" exception.
Thanks in advance
Marc Beckord