RadGridView add new item UI is not pupulating automatically

2 posts, 0 answers
  1. Manoj
    Manoj avatar
    3 posts
    Member since:
    Jun 2016

    Posted 14 Jul 2016 Link to this post


    I am using RadGridview for CURD operation. I am using observable collection of custom class where I have data.

    For oprtation I am using 2 column say update and delete to push data back to DB. With the property NewRowPosition, adding of new row is coming on top.

    When I am adding new row and provided data to all cell and coming out from that row being added focus is going into existing row and new row is getting added in last of collection. that is OK.

    My problem is when I have added a row the new row add label should be come but its not. and also I have observed that AddingNewDataItem is not firing as result all logic for the cell that I need to perform is not working. I have used celledittemplate in POC as well.

    Please suggest how I can achieved this behavior as soon as possible.



    Manoj S



  2. Stefan
    Stefan avatar
    796 posts

    Posted 18 Jul 2016 Link to this post

    Hello Manoj,

    Can you please clarify how the new items are added? If they are added programmatically, the reported behavior would be expected. The AddingNewItem event is raised only when an item is added through the UI. A possible solution might be to subscribe to the CollectionChanged event of the source collection and move the already implemented logic in it.

    Additionally, you may find the Adding New Entries topic useful on the matter.

    All the best,
    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top