This is a migrated thread and some comments may be shown as answers.
RadLabel Problem
8 Answers 177 Views
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 11 Jul 2007, 10:00 AM
Hi,

I am not sure wether this is bug or my setting.
I try to use RadLabel and the default AutoSize= False.

If i set AutoSize=false and then resize the label into bigger size, it wont show when you try to run the application. But if I set the AutoSize= True, I can see the label.

What is happenning here?

I am connected using Remote Desktop Connection to Windows Server 2003 Sp1.

Thanks

8 Answers, 1 is accepted

Sort by
0
Vassil Petev
Telerik team
answered on 11 Jul 2007, 03:46 PM
Thank you for contacting us, eriksurya.
  
Indeed, the Label had a small issue which prevented AutoSize to work correctly. The good part of it is that we fixed the issue right away and now AutoSize works as expected. 
  
In case this is a showstopper for you, we will be glad to send you a custom build next week which will solve the problem. 
  
Let us know how to proceed.
 

Sincerely yours,
Rob
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Erik
Top achievements
Rank 1
answered on 12 Jul 2007, 01:23 AM
Thanks for the reply. I would like the custom build. How do I get it? I really appreciate it.

Thanks again.
0
PortVista
Top achievements
Rank 2
answered on 12 Jul 2007, 03:05 PM
I'm not sure I understand the solution...

After upgrading, none of my labels are visible. And when I add a new label, it's always set at size 0,0 too small to grab on to it to make it bigger. Changing the size has no effect. Toggling the AutoSize seems to fix this, but you need to do it for each time you drag a new label on the page?
0
Angel
Telerik team
answered on 17 Jul 2007, 04:02 PM
Hello Jason,

There is an issue with the label's Size when its AutoSize is false. In order to see your labels set their AutoSize to true. The case with AutoSize = false is fixed and will be available later this week. We can send you the build if you open a support ticket.

Eriksurya, for more information on how to get the build please open a support ticket.
 

Best wishes,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
PortVista
Top achievements
Rank 2
answered on 17 Jul 2007, 04:40 PM
Ok, so this is a bug which is reproduced by:
1. The control existing on a form

I think that covers all instances where you'd see this bug. 100% of the time. I guess whoever found it only got 10 Telerik points for finding it, since it's such an obvious bug. I think I found another bug, in the release notes where it mentions something about the controls being tested...
0
Vassil Petev
Telerik team
answered on 23 Jul 2007, 04:17 PM
Hello PortVista,

We are sorry for introducing this issue in the latest service pack. We were quick to resolve it and this problem should not exist in the custom build we sent you last week. Please, let us know if we can be of further assistance.


All the best,
Rob
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Marek
Top achievements
Rank 1
answered on 17 Aug 2007, 01:52 PM
Hi
On a related subject, I am trying to fill a flow layout panel dynamically with controls including a RadLabel.  I have the same problem in that if the auto-size is set to false then the size of the label is ignored.  My code looks something like that shown below.  All is OK until EndInit is called.

Is there any work around for me?

Best regards

Marek

label = new RadLabel();
((System.ComponentModel.ISupportInitialize)label).BeginInit();
label.RootElement.AccessibleDescription = "";
label.RootElement.BackColor = System.Drawing.Color.Transparent;label.TabIndex = tabIndex++;
label.AutoSize = false;
label.Text = attributeType.Description;
label.Size = new Size(115, control.Height);
label.TextAlignment = ContentAlignment.MiddleLeft;((System.ComponentModel.ISupportInitialize)label).EndInit();

0
Angel
Telerik team
answered on 20 Aug 2007, 09:19 AM

Hello Marek,

Please, open a support ticket and we will send you a build which solves this issue. Thank you in advance.


Bets wishes,

Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Label
Asked by
Erik
Top achievements
Rank 1
Answers by
Vassil Petev
Telerik team
Erik
Top achievements
Rank 1
PortVista
Top achievements
Rank 2
Angel
Telerik team
Marek
Top achievements
Rank 1
Share this question
or