Disable add new row when grid is empty

4 posts, 0 answers
  1. Marcel
    Marcel avatar
    41 posts
    Member since:
    Jan 2014

    Posted 18 Apr Link to this post

    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

  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 20 Apr Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Marcel
    Marcel avatar
    41 posts
    Member since:
    Jan 2014

    Posted 22 Apr in reply to Yoan Link to this post

    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

  5. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 22 Apr Link to this post

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