When filtering a column, % symbol is not recognized by radgrid filter.
Example:
Suppose there are three rows with data 3,3%,2
When i enter 3% in filter text box and click on "contains text" filter option. Both 3 & 3% are displayed in the filtered result.
Can anyone help me with this issue ?
Thanks in advance
Example:
Suppose there are three rows with data 3,3%,2
When i enter 3% in filter text box and click on "contains text" filter option. Both 3 & 3% are displayed in the filtered result.
Can anyone help me with this issue ?
Thanks in advance
5 Answers, 1 is accepted
0
Hello Antony,
I am afraid we are not able to replicate the issue locally. Could you reproduce this behavior with any of our demos?
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Please provide us the exact steps to reproduce the issue or open a support ticket to send us a sample runnable application demonstrating the erratic behavior. Thus, we will be able to further analyze the problem and provide a proper solution.
Greetings,
Eyup
the Telerik team
I am afraid we are not able to replicate the issue locally. Could you reproduce this behavior with any of our demos?
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Please provide us the exact steps to reproduce the issue or open a support ticket to send us a sample runnable application demonstrating the erratic behavior. Thus, we will be able to further analyze the problem and provide a proper solution.
Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Richard
Top achievements
Rank 1
answered on 30 May 2013, 06:19 AM
Hi Eyup
I met a similar issue. My radgridview have a % symbol column. This column data type is double, the column DataFormatString is "{0:P2}"
When i enter 0.38 in filter text box ,condition choose "is equal to" condition then click on filter button. Both 0.38 & 0.38% are displayed in the filtered result.
I investigated about this issue found the reason is the gridview background real value is "0.00383141762452107" , that why when enter the 0.38 or 0.38% in filter text box the filter is not work. Because the the filter descriptor is "columnid is equal to 0.38".
Real value (double):0.00383141762452107
DataFormatString:{0:P2}
Display value: 0.38%
I want the user can filter result when they enter the 0.38 in filter text box.
Do you have a better solution for this issue.
In attachment is my radgridview screen-shot.
Thanks
I met a similar issue. My radgridview have a % symbol column. This column data type is double, the column DataFormatString is "{0:P2}"
When i enter 0.38 in filter text box ,condition choose "is equal to" condition then click on filter button. Both 0.38 & 0.38% are displayed in the filtered result.
I investigated about this issue found the reason is the gridview background real value is "0.00383141762452107" , that why when enter the 0.38 or 0.38% in filter text box the filter is not work. Because the the filter descriptor is "columnid is equal to 0.38".
Real value (double):0.00383141762452107
DataFormatString:{0:P2}
Display value: 0.38%
I want the user can filter result when they enter the 0.38 in filter text box.
Do you have a better solution for this issue.
In attachment is my radgridview screen-shot.
Thanks
0
Hello Richard,
Please open a support ticket to send us a very basic runnable sample web site so we can reproduce the issue and debug the application accordingly. This will enable us to determine the cause of the problem and to provide an accurate solution.
Regards,
Eyup
Telerik
Please open a support ticket to send us a very basic runnable sample web site so we can reproduce the issue and debug the application accordingly. This will enable us to determine the cause of the problem and to provide an accurate solution.
Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Richard
Top achievements
Rank 1
answered on 04 Jun 2013, 10:37 AM
Hi Eyup
I was create tickets for this subject and upload a gridview sample for this issue. Because of the upload file max size is 20M, I splited the sample two tickets attachment.
The tickets NO. are 700647,700648.
Thanks
I was create tickets for this subject and upload a gridview sample for this issue. Because of the upload file max size is 20M, I splited the sample two tickets attachment.
The tickets NO. are 700647,700648.
Thanks
0
Hello Richard,
Thank you for the sample project. We will check it out and let you know of the result in the other support thread shortly.
Yoan
Telerik
Thank you for the sample project. We will check it out and let you know of the result in the other support thread shortly.
On a side note - this forum post was opened for questions regarding RadControls for ASP.NET AJAX. Please consider asking yours in the forum threads with relevant Product and Technology used.
Yoan
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.