This is a migrated thread and some comments may be shown as answers.

Input String Was Not In Correct Format in Rad Filter

2 Answers 83 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
KIRAN RAJ
Top achievements
Rank 1
KIRAN RAJ asked on 20 Dec 2011, 02:47 PM
Hi Guys,

I am Using Rad Filter In My Application.
When i select fields with "Int" datatype and enter non numeric characters (or) empty values  In rad Filter Input Box I am getting Error as
"Input String Not in correct Format : Unhandle exception occured on execution of current web request.."
I am not able to Catch this error or trace the events .

Can any one suggest the way by which i can trace this error and show in a label...
I am using  ASP.net  AJAX Q2.2011

Thanks...!!
Kiran Raj

2 Answers, 1 is accepted

Sort by
0
KIRAN RAJ
Top achievements
Rank 1
answered on 26 Dec 2011, 02:18 PM
Any Response for This..??
0
Daniel
Telerik team
answered on 26 Dec 2011, 02:43 PM
Hi Kiran,

Instead of trying to catch the error, just replace the RadFilterTextFieldEditor with RadFilterNumericFieldEditor. This way the users won't be able to enter non-numeric characters at all.
Hope this helps.

Regards,
Daniel
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
Tags
Ajax
Asked by
KIRAN RAJ
Top achievements
Rank 1
Answers by
KIRAN RAJ
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or