An unhandled exception of type 'System.NullReferenceException' occurred in Telerik.WinControls.GridView.dll

6 posts, 1 answers
  1. Aung
    Aung avatar
    3 posts
    Member since:
    Nov 2016

    Posted 16 Nov 2016 Link to this post

    Hello , I am Aung Ko .

    I am getting the Null Reference exception in rad grid view , first i has been filled data in gridview after filling data may be one row or two row in which I has been clicked in Group Type Column in gridview  at this time I has been seen Null Reference exception. I can't handled this exception. How can I do for this exception. Please , Suggest to me.

    Thanks.

    This is my sample project Link.

    https://drive.google.com/file/d/0B0PjZMmehto4ZXl1dkRIa29qdG8/view?usp=sharing

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2949 posts

    Posted 17 Nov 2016 Link to this post

    Hello Aung,

    Thank you for the sample project.

    I am not sure what I need to do in order to reproduce this. I have attached a small video that shows how I am testing this. Could you please check it and let me know what else I need to do?

    I am looking forward to your reply.
     
    Regards,
    Dimitar
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
  3. Aung
    Aung avatar
    3 posts
    Member since:
    Nov 2016

    Posted 18 Nov 2016 Link to this post

    Hello Dimitar,

    I have seen your video. Please, see my testing video record. 

    This is my testing video link.

    https://drive.google.com/file/d/0B0PjZMmehto4OTF6cWp5aDRYV1E/view?usp=sharing

    Regards,

    Aung Ko

     

  4. Dimitar
    Admin
    Dimitar avatar
    2949 posts

    Posted 18 Nov 2016 Link to this post

    Hi Aung,

    I have added several rows but I was unable to reproduce this. Is there a particular key that you are using at the point where the exception occurs (I cannot see the mouse in the video)? Or perhaps the exception is intermittent and is thrown sometimes only?

    In addition, I wanted to ask you to specify the version that you are currently using.

    I am looking forward to your reply.
     
    Regards,
    Dimitar
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
  5. Aung
    Aung avatar
    3 posts
    Member since:
    Nov 2016

    Posted 18 Nov 2016 Link to this post

    Hello Dimitar

    I am using version 2012.2.912.40

    I have filled data in each cell by typing, after finishing fill data for one cell I have typed enter key and cursor move to next cell direction go to left to right. In my sample project , you need to fill data for "Group Type,Brand,Stock ID,Unit,Quantity and Price".

    After filling data for Price Columns, I have typed enter key and then I have clicked in the Group type Column at the next row of the grid view at that time error occurs.

    Please note that I use mouse click one time new row's Group type column to focus and then type data by keyboard.

    In my grid view , I have added three multi column combo box for "Group type, Brand and Unit" , I think that error occurs using multi column combo box control more than one in rad grid view.

    Please, check this.

    Thanks

    Regards,

    Aung Ko

     

  6. Dimitar
    Admin
    Dimitar avatar
    2949 posts

    Posted 21 Nov 2016 Link to this post

    Hi Aung,

    I have tested this again but I am unable to reproduce this (see attached video). I have examined the stack trace and there is another fix applied at the place where the exception occurs. This is why I would suggest you download the latest suite version (perhaps a trial) and test if the exception still occurs.

    I hope this will be useful. Let me know what are the results.

    Regards,
    Dimitar
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top