How to set alt text on the iconurl of a slider?

3 posts, 0 answers
  1. S
    S avatar
    6 posts
    Member since:
    Aug 2011

    Posted 16 Aug 2011 Link to this post

    My slider has a custom iconUrl, but when you mouse over the icon there is no alt text for it.

    Can this be set?  I don't see a property for it.
  2. Niko
    Admin
    Niko avatar
    387 posts

    Posted 17 Aug 2011 Link to this post

    Hi,

    Unfortunately there is no property that specifies a different alt text for the icon of the sliding zone's button. Still you could work around this limitation by simply defining the Title for the RadSlidingPane and subsequently hide the text only, thus leaving just the icon with the Title value as an alternative text. For the later thing you will need the following CSS:
    .RadSplitter .rspPaneTabText
    {
        display: none;
    }

    Hope this helps.

    P.S. Could you, please, try not to post RadSplitter issues in the RadSlider forum as the two controls are very different and have nothing in common. The RadSlidingPane is part of the RadSplitter, whereas the RadSlider is a standalone control with purely different functionality.

    Kind regards,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Niko
    Admin
    Niko avatar
    387 posts

    Posted 17 Aug 2011 Link to this post

    Hello,

    Just figured out a better solution to the one provided. You still need to have the Title specified, however you could use the TabView property setting it to ImageOnly in order to not display the text along with the icon.

    Regards,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top