PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

An item with the same key has already been added.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
emadaslan



Joined: 25 Dec 2007
Posts: 3

PostPosted: Tue Dec 25, 2007 8:05 am    Post subject: An item with the same key has already been added. Reply with quote

Dear All ,

Currently i'm creating large table , and i get this error while rendering the document
"An item with the same key has already been added."

Pls any help will be appreciated

Thanks in advance
Back to top
View user's profile Send private message
Infarkt



Joined: 26 Dec 2007
Posts: 2

PostPosted: Wed Dec 26, 2007 11:08 pm    Post subject: Re: An item with the same key has already been added. Reply with quote

emadaslan wrote:
Dear All ,

Currently i'm creating large table , and i get this error while rendering the document
"An item with the same key has already been added."

Pls any help will be appreciated

Thanks in advance


Hi, I had same problem, because I try to modify
Code:
document.DefaultPageSetup.RightMargin = SomeValue

when i comment this code everything works fine
This happens with any margin
Hope it will help
Back to top
View user's profile Send private message
emadaslan



Joined: 25 Dec 2007
Posts: 3

PostPosted: Fri Dec 28, 2007 5:41 am    Post subject: Re: An item with the same key has already been added. Reply with quote

Quote:
Hi, I had same problem, because I try to modify
Code:
document.DefaultPageSetup.RightMargin = SomeValue

when i comment this code everything works fine
This happens with any margin
Hope it will help


thanks for your reply
Yes I've already did that
but currently I'm creating wide and long tables and i need to set topLeftMargin etc

hope some one have another solution
Back to top
View user's profile Send private message
Infarkt



Joined: 26 Dec 2007
Posts: 2

PostPosted: Fri Dec 28, 2007 9:52 pm    Post subject: Re: An item with the same key has already been added. Reply with quote

emadaslan wrote:
Quote:
Hi, I had same problem, because I try to modify
Code:
document.DefaultPageSetup.RightMargin = SomeValue

when i comment this code everything works fine
This happens with any margin
Hope it will help


thanks for your reply
Yes I've already did that
but currently I'm creating wide and long tables and i need to set topLeftMargin etc

hope some one have another solution


Hi,
I think that solution might look like this
Code:
 document.DefaultPageSetup.LeftMargin = Unit.FromInch(SomeValue)

It works on my code.
Hope it helps
Very Happy
Back to top
View user's profile Send private message
emadaslan



Joined: 25 Dec 2007
Posts: 3

PostPosted: Fri Dec 28, 2007 10:39 pm    Post subject: Reply with quote

the proplem still there Sad
i've completely removed from my code
document.DefaultPageSetup.BottomMargin = Unit.FromInch(someValue);
so i'm not messing with any document margins

the table i'm creating consist of 80 rows
hope someone could help
Back to top
View user's profile Send private message
MO



Joined: 05 Mar 2008
Posts: 1

PostPosted: Wed Mar 05, 2008 1:57 pm    Post subject: Reply with quote

hi,

i've got a similar problem and the same error message:

for testing purposes i've created a simple table (2 columns, 4 rows)
now, if a cell in one row has a long text so the row wouldn't fit on this page, there is a pagebreak and the row with the long text is on the next page.

if the text gets even longer, so it doesn't even fit on one page i get the error message mentioned in thread title.

in my case there isn't set a margin at all, so this can't be the problem.

testing a little bit, i found out, that i also get the error, if the row fits on one page but i set "keepwith" in one of the previous rows to force a row start right after the prev row and then break within instead of starting on the next page.

if you need more information just tell me

and by the way, does anybody might have a workaround for this problem because i would like to use migralite, but i really have to deal with some longer strings that will not fit on one page
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com