Hi
renderTable.Rows[row].CanSplit =
One more interesting thing is that, we upgraded our C1Preview dlls to C1Report (2.6.20091.52012) dlls to fix one more problem with printing richText that I reported earlier. With these dlls, we don't see the problem. Do you know anything specific that might have gotten fixed in the new dlls? It will be great if you could provide me with some info explaning what's going on. We are not going to remove the padding since looks like it's working with the new dlls but I wanted some explanation as to why we do not see the problem with the new dlls. The print out looks better with padding. Having your explanation will give us more confidence not to change our code to remove padding, just upgrade will take care of it.
Archana
Padding itself is nothing special, the only possible explanation of the problem I can think of is that this could be another case when a specific combination of objects' sizes/locations caused a usually hidden bug to appear. Because quite a few bugs were fixed between builds 50031 and 52012, I think this particular bug was also fixed. If you can post a complete sample that demonstrates the issue with build 50031 and I'm able to repro it, I may be able to definitely confirm the fix. In any case, I am pretty sure that padding itself had nothing to do with the issue - i.e. the same bug could be triggered by specifying a particular size of the object instead of padding (hope this makes sense).
Thanks.
Hi Dima,
I am attaching a sample code where you will see the freezing issue.
renderObject.Style.Padding.All = CellPadding; in function SetCommonRenderObjectProperties, the document will print with the checkbox unchecked. There is something either adding padding or something else which causes it to hang. I tried using startdoc() and enddoc() as well. But it's still the same.
So we upgraded the Preview dlls to use Report dlls to fix another issue we were having and then looks like it works fine with new dlls. I am not sure what exactly was changed between these two versions. It will be great if you could have a look at the application and let me know what's going wrong there.
There is one more issue we see on one machine and our client also sees it from some machines. Whenever you open preview, and click on the scrollbar to scroll through the page, the application hangs. I couldn't repro it in the application but if you could let me know what must be going wrong it will be great.
Hope it makes sense waiting for your reply,
Thanks,
Can I have an update on this please?
Thanks,Archana
I too could repro the bug using build 50031, and could not using the current build. So obviously the bug has been fixed since build 50031 was released (about a year ago now). Hope this clarifies and closes the issue.
As for the other (scrolling) issue - does it occur with the current build as well, or also only with 50031?
The scrolling freeze still occurs with the current build. Only thing is that it's not consistent. I couldn't still repro it on my machine. But I have seen it on one of our client's machine pretty consistently and also on one of the machines in house. Please let me know if you find something that might be causing the scroll freezing.
Thanks for looking into the sample app. Could you please let me know what was causing the problem? I know it doesn't occur with the 52012 build. But I wanted to make sure that it won't happen at all with the current build. So if you could let me know what was causing the problem and if it's fixed in 52012, it will be great!