Hi,
I have the rolodex sample up and running. I can add a company ok. When I attempt to add a contact I get the following exception thrown:
void Core.IUndoableObject.AcceptChanges(int parentEditLevel, bool parentBindingEdit)
{
if (this.EditLevel - 1 != parentEditLevel)
throw new UndoException(string.Format(Properties.Resources.EditLevelMismatchException, "AcceptChanges"));
I got the code from the codeplex article.
Any suggestions what may be causing this?
The code for the article is probably a over two months
old. My first suggestion is to get the latest version from SVN or CSLA
Light download page and try that version.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: davido
[mailto:cslanet@lhotka.net]
Sent: Wednesday, October 29, 2008 8:32 AM
To: Sergey Barskiy
Subject: [CSLA .NET] rolodex editLevel exception
Hi,
I have the rolodex sample up and running. I can add a company ok. When I
attempt to add a contact I get the following exception thrown:
void Core.IUndoableObject.AcceptChanges(int parentEditLevel, bool
parentBindingEdit)
{
if (this.EditLevel - 1 != parentEditLevel)
throw new
UndoException(string.Format(Properties.Resources.EditLevelMismatchException,
"AcceptChanges"));
I got the code from the codeplex article.
Any suggestions what may be causing this?
Thanks for the reply.
Could you post the URL for the CSLA Light download page please?
I am having difficulty finding it.
Sure
http://www.lhotka.net/cslalight/download.aspx
Samples column is the link to sample zip file.
Alternatively, you can download the same from SVN.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: davido
[mailto:cslanet@lhotka.net]
Sent: Wednesday, October 29, 2008 9:40 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: rolodex editLevel exception
Thanks for the reply.
Could you post the URL for the CSLA Light download page please?
I am having difficulty finding it.
Copyright (c) Marimer LLC