EditableRootListBase with Janus Schedule

EditableRootListBase with Janus Schedule

Old forum URL: forums.lhotka.net/forums/t/2646.aspx


CrazyLegz posted on Monday, April 02, 2007

Hi all,

I'm using an EditableRootListBase bound to a Janus Schedule component. It's the same sort of schedule you see in Outlook.

Inserting and updating works fine trough EditableRootListBase except deleting. It deletes the selected object and then instantly after that it tries to delete it again.

public void SaveItem(T item)

{

   SaveItem(IndexOf(item));

}

The IndexOf(item) returns -1 because it's already deleted and so

public virtual void SaveItem(int index)

throws an exception.

 

I believe this is a problem in EditableRootListBase and not in the Schedule component.

Or am I just doing something wrong?

Thnkx in advance.

CrazyLegz replied on Monday, April 02, 2007

Could it be that it is trying to delete a parent or child?

Copyright (c) Marimer LLC