RadLabel Problem

9 posts, 0 answers
  1. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 11 Jul 2007 Link to this post

    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
  2. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 11 Jul 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 11 Jul 2007 Link to this post

    Thanks for the reply. I would like the custom build. How do I get it? I really appreciate it.

    Thanks again.
  5. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 12 Jul 2007 Link to this post

    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?
  6. Angel
    Admin
    Angel avatar
    121 posts

    Posted 17 Jul 2007 Link to this post

    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
  7. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 17 Jul 2007 Link to this post

    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...
  8. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 23 Jul 2007 Link to this post

    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
  9. Marek
    Marek avatar
    48 posts
    Member since:
    Aug 2005

    Posted 17 Aug 2007 Link to this post

    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();

  10. Angel
    Admin
    Angel avatar
    121 posts

    Posted 20 Aug 2007 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready