Gridview throwing unexpected error

2 posts, 0 answers
  1. Sree
    Sree avatar
    30 posts
    Member since:
    Dec 2012

    Posted 20 Mar 2013 Link to this post

    Hello Team,
    I faced a situation where gridview is throwing some expected which i am unable to catch


    i have a gridview,where user adding data to it the grid, through .csv file means user imports .csv file data to datagrid and then clicks button clear which make the grid datasource to null,
    which is datagrid.datasource=null; now if entered any string value in the grid it is throwing this expecption

    Step By Step: user clicked Add field values

    user selects the .csv file to import data into grid

    Data imported from .csv to grid



    Now clicks Clear button to clear the data in the grid, here when user clicks the clear button i am making the datasource of the grid to null

    now user enters some string value in the grid




    Now press tab, its throwing the error

    input string was not in correct format and i dont know where to capture the error and how to handle, can you please help me

    Regards
    Lakshmi
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 25 Mar 2013 Link to this post

    Hello Lakshmi,

    Thank you for writing.

    Would it be possible for you to send me a small application with a grid and a sample csv file where I can reproduce the error, so I can investigate what causes it and find the best solution for it.

    I am looking forward to your reply.
     

    All the best,
    Stefan
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top