Is it possible to specify image dimensions for IconURL?

2 posts, 1 answers
  1. Sean
    Sean avatar
    200 posts
    Member since:
    Nov 2010

    Posted 21 Jul 2011 Link to this post

    Hi all,

    I am working on optimizing my page load time. I ran my page through Google Chrome's Network Utilization Audit. One of the suggestions it makes is to specify image dimensions.

    "A width and height should be specified for all images in order to speed up page display. The following image(s) are missing a width and/or height:"

    but I am referencing my images like so:

    <telerik:RadSlidingPane ID="RadSlidingPane2" Runat="server" IconUrl="~/Content/Dashboard/Icons/chart.png" TabView="ImageOnly" BackColor="#ECF4FD" MinWidth="160" Scrolling="Y" Title="Custom Widgets" Width="160px" EnableDock="False">
        <telerik:RadListBox ID="lstBxCustom" runat="server" EnableDragAndDrop="True" onclientdragging="OnClientDragging" OnClientDropping="OnClientDropping" Skin="Web20" Sort="Ascending" Width="100%" />

    Is there a simple way to fulfill this?

  2. Answer
    Dobromir avatar
    1633 posts

    Posted 26 Jul 2011 Link to this post

    Hi Sean,

    It is not possible to predefine the size of the icon of the sliding pane's tab in the declaration. However, you can fulfill this requirement using CSS, e.g:
        width: 16px;
        height: 16px;

    Best wishes,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top