7 Answers, 1 is accepted
You could access the RadNumericTextBox in the ItemCreated event of the grid and remove the comma separator by setting the GroupSeparator property as shown in the following code..
Hope this would help you.
Thanks for the response Princy
I have tried to do this in both markup and code behind and i can not get either to work. Below is my code, could someone let me know what i am doing wrong?
After i posted i relized that i forgot to set the OnItemCreated property of the grid in the markup(ASPX). Once i did that the code behind works. So thanks Princy.
I would like to know why the code in the parkup does not work I.E.
|<telerik:GridNumericColumnEditor ID="centeridEditor" runat="server">|
|<NumberFormat GroupSeparator="" />|
Thanks in advance.
When you use automatically-generated columns, a column is added for every field of the data source to which the table view is bound. These columns can be accessed using the AutoGeneratedColumns property collection. In order to remove the comma separator from the numeric filter boxes you could loop through the GridNumericColumns in the column collection and set GroupSeparator property to "".Check out the following code.
I hope this helps.
my requirement is to separate the numeric values with commas in telerik grid column can u please help me out to do this ...