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

Disable add new row when grid is empty

3 Answers 27 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 18 Apr 2016, 10:02 AM

Hello,

When I click in an empty gridview a new row is automatically created. How can I disable this functionality?

Because I need to do some validation first before a new row can be created in my scenario.

 

Thanks in advance.

Marcel

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 20 Apr 2016, 01:00 PM
Hello Marcel,

Maybe I am missing something, but if you click within an empty GridView, a new row is not created. May I ask you to send us a sample project wich demonstrates this behavior? I will debug it on my side and will assist you further.

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Marcel
Top achievements
Rank 1
answered on 22 Apr 2016, 12:26 PM

Hello Yoan,

I just checked it out and your right, some of the code I wrote was causing this.

Thanks for the response!

Regards,

Marcel

0
Yoan
Telerik team
answered on 22 Apr 2016, 02:32 PM
Hi Marcel,

I'm closing this ticket, but if you experience any difficulties or have further questions, do not hesitate to contact us again.

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Marcel
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Marcel
Top achievements
Rank 1
Share this question
or