radtoolbardropdown text Hidden?

4 posts, 1 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 01 Sep Link to this post

    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

  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 05 Sep Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 05 Sep in reply to Plamen Link to this post

    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

  5. Answer
    Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 07 Sep Link to this post

    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.
Back to Top