This is a migrated thread and some comments may be shown as answers.

RadLabel AutoSize and Refresh

16 Answers 409 Views
Label
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 05 Nov 2012, 09:36 PM
I am using a RadLabel to show the status and results of a process that builds the data for a GridView.  Click a button to start that process and the text set to "Please wait while your list is being built..." then I do a refresh() on that control.  At the end of that process the text is set to "Row Count: xxx".

Even though I have the label set to autosize, the full text ("Please wait while....") is cut off at the length of whatever the text was at the beginning of the process.  My current workaround is to make this autosize = false and pad the text with enough trailing blanks so that it is always longer than "Please wait while your list is being built...".

I replaced that RadLabel with a Microsoft Label and that works fine.

Is that a bug with that RadLabel?

16 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 08 Nov 2012, 09:56 AM
Hi Gary,

There is a sizing issue with RadLabel in our latest official release - Q3 2012. We addressed the issue an internal build that is available for download through our Visual Studio Extensions. I suggest that you try this internal build. If the issue still appears, please send us your project. This way we will be able to ensure that the issue will be addressed in our upcoming service pack.

I am looking forward to your reply.
 
Greetings,
Jack
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Brandon
Top achievements
Rank 1
answered on 15 Nov 2012, 07:47 PM
Which internal build has this update? I am fully updated (internal builds checked) and still having issues with AutoSize on RadLabels. Using v.2012.3..1017.20 Dev.
0
Jack
Telerik team
answered on 16 Nov 2012, 03:18 PM
Hello Brandon,

This issue is addressed in the internal build with version 2012.3.1031. Please, could you confirm that your assemblies have this version. If the issue still appears, maybe there is something specific in your application. Please, send it to us and we will try to find a proper solution.

I am looking forward to your reply.
 
All the best,
Jack
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Brandon
Top achievements
Rank 1
answered on 16 Nov 2012, 03:53 PM
Ok, so this may a different issue completely then.  I have v.2012.3.1017.20.  The "Include Internal builds in Latest Version Update and retrieval" checkbox is checked in the Telerik VSExtensions Settings, however, there is no update available.

Please don't say I have to uninstall VSextensions and reinstall again.

0
Chavdar Dimitrov
Telerik team
answered on 19 Nov 2012, 12:22 PM
Hi Brandon,

Please, ensure that you've entered the correct email.

In case you do, I would recommend to check if you use the latest VS Extensions (2012.3.1016). You can do this from Visual Studio -> Tools -> Extension Manager.

If you have the latest version installed, please, open %appdata%\Telerik and delete the Settings.xml. This will reset the settings completely. Then you should enable the internal builds from the Options menu and try again.

Let me know if I can be of further assistance.

Kind regards,
Chavdar,
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Jeremy
Top achievements
Rank 1
answered on 19 Nov 2012, 06:12 PM
i installed the latest update and screwed things up.
i am now having problems with the my radlabels (which existed before the update)) now do not recognize their autosize = false.
i looked in the designer and the autosize property is not even stored.
also, when i installed the updates, my existing radpageviews being resized to some humongous size, taking many hours to correct, only to see that none of my changes saved!
so, i am now trying to find out if i am indeed using the latest VS Extensions (2012.3.1016), but the method you have described does not work for me, because in my Tools menu on visual Studio 2008, I do not see "Extension Manager"

So, how do I check to see what version of VS Extensions I am running?
0
Chavdar Dimitrov
Telerik team
answered on 21 Nov 2012, 02:18 PM
Hi Jeremy,

The issues you mentioned are addressed in our latest internal build of RadControls for WinForms. Please, update to the latest version using the Latest Version Retrieval Tool (documentation: http://www.telerik.com/help/winforms/installation-deployment-and-distribution-vsx-automatic-latest-version-retrieval.html).

Additionally, note that you need to enable the "Include Internal Builds" option from the options menu first (documentation: http://www.telerik.com/help/winforms/installation-deployment-and-distribution-vsx-options-dialog.html)

Let me know if I can of further assistance.

Kind regards,
Chavdar,
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Jeremy
Top achievements
Rank 1
answered on 21 Nov 2012, 02:43 PM
I enabled the "Include Internal Builds" option days ago. And I just restarted Visual Studio to see if I would get a pop-up notifying me of an available update. I did not.

So I restarted my machine and tried again, just to be sure, and still nothing.

Please answer my original question: How do I check to see what current version I am running? This should be an easy, quick thing to do.

Jeremy
0
Chavdar Dimitrov
Telerik team
answered on 21 Nov 2012, 03:38 PM
Hi Jeremy,

You can see a VS Extension version from Visual Studio -> Help -> About Microsoft Visual Studio (refer to the screenshot attached).

I didn't point you to the extensions' version because the issues you described are not caused by the VS Extensions. I guess you need to check the controls version, i.e. check the version of the Telerik.WinControls.* assemblies referenced in your project.

Let me know if you have any further questions.

All the best,
Chavdar,
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Jeremy
Top achievements
Rank 1
answered on 21 Nov 2012, 03:51 PM
Since I have installed the latest (I think) Telerik update, I assume that I have the latest Telerik assemblies. I will tell you what version I have and you tell me if it is the latest:

Telerik.WinControls: 2012.3.1017.20 (runtime version: v2.0.50727)
Telerik.Reporting: 6.1.12.820 (runtime version v2.0.50727)
Telerik.WinControls.UI 2012.3.1017.20 (runtime version v2.0.50727)
TelerikCommon 2012.3.1017.20 (runtime version v2.0.50727)
TelerikData 2012.3.1017.20 (runtime version v2.0.50727)
Telerik.WinControls.GridView 2012.3.1017.20 (runtime version v2.0.50727)
0
Chavdar Dimitrov
Telerik team
answered on 21 Nov 2012, 04:23 PM
Hi Jeremy,

We've released a few internal builds after the official release, which address the issues you experience. The latest version is 2012.3.1106.20, so you'll need to update all assemblies except Telerik.Reporting to this version.

You can download the latest update using the Telerik VS Extensions. To do this start the Upgrade Wizard and click on the Download button (screenshots attached).

Additionally, you can download the latest internal build manually. In order to do this, please, follow the steps bellow:
  1. Open the Your Account section on our web site
  2. Click Manage Products
  3. Click RadControls for WinForms
  4. Click Download Installer and Other Resources
  5. You will see all packages available for download
  6. Download the latest hotfix: Telerik.RadControls_For_WinForms_2012_3_12_1106_Dev_hotfix.zip

I hope this will solve the issue. Let me know if the problem persists.

Kind regards,
Chavdar,
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Jeremy
Top achievements
Rank 1
answered on 21 Nov 2012, 04:32 PM
Yes! Thank you. That build corrected the problems.
0
Doug
Top achievements
Rank 1
answered on 29 Nov 2012, 09:10 PM
And I just followed those instructions and it fixed my problems as well.  (Those four pictures were invaluable.)
0
Jeff
Top achievements
Rank 1
answered on 13 Feb 2018, 09:15 PM

I have the same behavior, but I am using the Q3 2017 release. Did the fix never make it to production??

I have a rad label which is fixed width (more than wide enough for what I am trying to display). The text should read "Submitting invoice IV#####..." but it's always only shows "Submitting inv..." (notice the control is adding the ellipsis in spite of having a lot of real estate to show the full text). I have tried changing the text alignment and it doesn't help. I am also executing a .Refresh() on the label after setting the text.The AutoSize to true didn't help either.

0
Hristo
Telerik team
answered on 14 Feb 2018, 02:49 PM
Hi Jeff,

The issue has been fixed and currently, we are not aware of another one which would result in the described behavior. If your label is set to AutoSize it should fit the text you have specified. If it is not auto-sized as long as the control has enough space it should also fit it. Can you please open a support ticket and send us your project so that we can further investigate this?

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jeff
Top achievements
Rank 1
answered on 14 Feb 2018, 06:12 PM
Hi Hristo, I opened a ticket this morning. Thanks.
Tags
Label
Asked by
Doug
Top achievements
Rank 1
Answers by
Jack
Telerik team
Brandon
Top achievements
Rank 1
Chavdar Dimitrov
Telerik team
Jeremy
Top achievements
Rank 1
Doug
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or