Add button disabled after inserting the an item.

4 posts, 0 answers
  1. Javid
    Javid avatar
    2 posts
    Member since:
    Oct 2012

    Posted 04 Oct 2012 Link to this post

    Hej Telerik,

    I have a dataform with the ItemsSource property bound to an ObservableCollection of a type that implements IEditableObject interface. The problem is that after inserting an item the addNewItem button gets disabled. I can click on Edit and then cancel and now the add button turns active again. What am I doing wrong? The AutoEdit, AutoGeneratedFileds and AutoCommit properties are set false.

    Best Regards
    Javid
  2. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 04 Oct 2013 Link to this post

    I am having this exact same issue, although my ObservableCollection doesn't implement the IEditableObject interface. The workaround is still effective.
  3. DevCraft banner
  4. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 08 Oct 2013 Link to this post

    Hi,

     Have you committed the changes ("Ok" button) after inserting the item?

    Regards,
    Ivan Ivanov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Art Kedzierski
    Art Kedzierski avatar
    107 posts
    Member since:
    Nov 2009

    Posted 05 Nov 2013 Link to this post

    Yes, that is how the item is added.
Back to Top