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

[Solved] No Window Icon

1 Answer 137 Views
Window
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 05 Mar 2008, 10:24 PM
Is there a better way to do this?

I have IconUrl="blank.gif" but it still keeps the 16x16 box spacing for the icon even though its "blank".  IconUrl="" leaves the default icon.

I want the text flush left and no icon for some windows.  Any ideas?

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 06 Mar 2008, 11:55 AM
Hello John,

You can achieve this by providing a custom skin for the RadWindow control where you have set display:none to the windowicon selector. For example:

div.radwindow_Default table.titlebarcontrols a.windowicon 
    display:none
    /*background: transparent url('Window/WindowCornerSprites.gif') -21px -59px no-repeat;
    width: 16px; height: 16px;
    cursor: default;
    margin: 8px 0 0 3px; */ 
     

More information on how to use and create custom skins is available in the documentation, section RadControls Prometheus Fundamentals / Controllin Visual Appearance

I hope this helps.


Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
John
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or