When I place an Ultraformattedlinklabel on a form and set Autosize to True then the text disappears. I am using version 10.1.20101.1007
Is this normal behavior?
Hello,
Please let us know if you need any further assistance.
Yes I need some assistance, I installed the latest release but i still have the problems. They are more complex as i ealier mentioned. I attached a project with the problem.
The project contains 2 usercontrols one with the labelcontrol and the other with the formattedlinklabelcontrol. I expect that both behave the same, but as you can see after adding a text the ultraformattedlinklabel disappear.
The usercontrol is a breadcrumb control where you can add more "levels" to it.
It uses a tablelayoutpanel, where the columns are autosize and the (formattedlink)label is docked to Fill and is autosized.
You can see the strange behavior of the formattedlinklabel in the design mode of the usercontrol. Select the tasklist of the ultraformattedlinklabel1 and toggle the autosize and wraptext options randomly and the text is disappearing and showing.
In designmode of the mainform, you can resize the usercontrol of ultraformattedlinklabel1 and the text is gone.
I hope i was clear in explaning en reproducing my problem.
Thank you for you patience,
I am able to reproduce the mentioned behavior. I have created the following case based on this behavior: CAS-49307-3K9811
As soon I have any progress on this issue I will let you know.
Has this problem been resolved yet?
I am on version 2011.2 and still happening. Any work around?
Thanks.
Hi Kevin,
It does not look like this issue was fixed. There appears to have been some trouble reproducing the issue after the initial try.
I tried it out just now using the sample posted here with v11.2 and I can get the issue to occur every time. I will ask Infragistics Developer Support to write this up for further review.
In any case, the problem here seems to be the result of some very unusual, and contradicatory, property settings. The sample here is setting AutoSize on the UltraFormattedLinkLabel to true and also set Dock to Fill.
These properties are in direct contradiction of each other. AutoSize tells the control to size based on it's contents and DockStyle.Fill tells it to fill the container it's in. It cannot possibly do both.
Of course, the control should not be going blank. That's a very unintuitive response and doesn't make any sense.
But since these property settings make no sense, anyway, you can easily work around the problem by either setting the Dock property or the AutoSize property but not both. AutoSize seems to be the more logical setting in this case.
Hi Mike,
I am the original poster of this thread.
You said that it is a contradiction, but when i combine them I get the following behaviour : the cell that the label is docked in increases too, so no word wrap and I get a nice layouted "breadcrump control". When I do this with a label instead of a formatted label it works like expected, without the link of course.
I hope the developers can fix this, as in the labelcontrol.
Regards
Arnaud
Hi Arnaud,
I can confirm that this is a bug in the UltraFormattedLinkLabel, regardless of the Dock and AutoSize settings. We are looking into the issue and I expect it will be corrected in a future service release - probably in April.