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

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

5 Answers 207 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aung
Top achievements
Rank 1
Aung asked on 17 Nov 2016, 02:21 AM

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

5 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 17 Nov 2016, 11:04 AM
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.
0
Aung
Top achievements
Rank 1
answered on 18 Nov 2016, 07:42 AM

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

 

0
Dimitar
Telerik team
answered on 18 Nov 2016, 11:42 AM
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.
0
Aung
Top achievements
Rank 1
answered on 19 Nov 2016, 03:08 AM

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

 

0
Dimitar
Telerik team
answered on 21 Nov 2016, 09:16 AM
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.
Tags
GridView
Asked by
Aung
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Aung
Top achievements
Rank 1
Share this question
or