Input String Was Not In Correct Format in Rad Filter

3 posts, 0 answers
  1. KIRAN RAJ
    KIRAN RAJ avatar
    23 posts
    Member since:
    Sep 2011

    Posted 20 Dec 2011 Link to this post

    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. KIRAN RAJ
    KIRAN RAJ avatar
    23 posts
    Member since:
    Sep 2011

    Posted 26 Dec 2011 Link to this post

    Any Response for This..??
  3. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 26 Dec 2011 Link to this post

    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
Back to Top