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

radtoolbardropdown text Hidden?

3 Answers 40 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 01 Sep 2016, 01:19 PM

I am trying to show toolbar dropdown text like:

 

   Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
            dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")

This ends up with the following sourcecode:

 

<span class="rtbText rtbHidden">Per pagina</span>

What could be wrong here? Skin = Material 2016.2.607.45

 

Marc

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 05 Sep 2016, 06:01 AM
Hello,

I am attaching the test page that worked correctly at my side. Please review it and let me know what else should be done to replicate the issue at my side.

Regards,
Plamen
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 05 Sep 2016, 07:14 AM

the Toolbar item is added to a RadFileExplorer toolbar this way:

 

RadFileExplorer1.ToolBar.Items.Add(dropDown)

 

Please look what happens if you switch the RenderMode of the FileExplorer from Normal to LightWeight.

Then the dropdown is rendered initially without text.

Please refer to attached screenshots.

Marc

0
Accepted
Vessy
Telerik team
answered on 07 Sep 2016, 03:51 PM
Hi Mark,

Thank you for bringing this issue to our attention. It seems that currently, when RadFileExplorer expects both the text and the tooltip of a custom button to be set in order to show the text of the newly added button in LightWeight render mode. I have logged this as a bug in the control and we will look at it as soon possible, you can track its progress here:
http://feedback.telerik.com/Project/108/Feedback/Details/200501

Meanwhile, you can workaround the problem by configuring the custom button's Tooltip like follows:
Dim dropDown As New RadToolBarDropDown("PageSize")
dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
dropDown.ToolTip = GetGlobalResourceObject("Insight", "Per pagina")
RadFileExplorer1.ToolBar.Items.Add(dropDown)

You Telerik points also have been updated accordingly.

Regards,
Vessy
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
ToolBar
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Plamen
Telerik team
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Vessy
Telerik team
Share this question
or