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

Prometheus custom skin folder ?

11 Answers 429 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Kiki
Top achievements
Rank 1
Kiki asked on 26 Apr 2007, 10:48 PM
Hi all,

    Is it possible to have custom skin folder in Prometheus ?

11 Answers, 1 is accepted

Sort by
0
Johan
Top achievements
Rank 1
answered on 27 Apr 2007, 12:37 PM
There was a property SkinsPath in rad Controls for ASP.NET ... could not find it for Prometheus, but I guess the way to do it is to manually register the Css file for the skin in the head of your page (available in the Prometheus help files, under "registering skins" section)

<quote>

To register declaratively the skin CSS please follow these steps:

Copy the CSS file and all required resources (e.g. images) in your application folder.
 
Drag-and-drop the CSS file into your page. You should end up with the following HTML:

<head runat="server">
    <title>Untitled Page</title>
    <link href="WinAmpClassic/Slider.WinAmpClassic.css" rel="stylesheet" type="text/css" />
</head>

Optionally you can make the "href" attribute of the <link> tag application relative - insert a tilde "~/" - and add  runat="server":

<head runat="server">
    <title>Untitled Page</title>
    <link href="~/WinAmpClassic/Slider.WinAmpClassic.css" rel="stylesheet" type="text/css" runat="server" />
</head>


</quote>
0
Kiki
Top achievements
Rank 1
answered on 27 Apr 2007, 12:43 PM
Thanks Johan,

  I have thought that it will have same or similar props like RadControls for ASP.Net, but I guess I'm wrong.

Thanks.
0
Johan
Top achievements
Rank 1
answered on 27 Apr 2007, 12:50 PM
Indeed, SkinsPath was a convenient property.. hopefully it will be implemented later.
0
Valeri Hristov
Telerik team
answered on 27 Apr 2007, 01:08 PM
Hello guys,

Unfortunately, we have no plans for implementing automatic custom skin registration, e.g. for the time being, if you want to use custom skins, you will have to register the CSS files by hand. Useful alternative is to create a theme and copy the custom skin CSS files in the theme folder - the Framework automatically register all CSS files in the theme, used on the page.

Best wishes,
Valeri Hristov (Senior Developer, MCSD)
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Johan
Top achievements
Rank 1
answered on 27 Apr 2007, 01:11 PM
So in essence, skinning is achieved by explicitly including the Css file of the skin in the <head> tag of the page using the control? Why is then the Skin property needed?
0
Kiki
Top achievements
Rank 1
answered on 27 Apr 2007, 01:15 PM
Hi Valeri,

  I have just figured that out, thanks for fast replay. I have found one other issue with tooltip control. Tooltip stops working when RadAjaxManager do a callback.

Do you have and ideas why ?
0
surfer
Top achievements
Rank 1
answered on 27 Apr 2007, 01:21 PM
Are you using the RadAjaxManager from the asp.net suite, or RadAjaxManager from the "Prometheus" suite... I am also fiddling with some issues and am curioous to know that.... as far as I can tell "Prometheus" controls will only work with "Prometheus" AjaxManager?
0
Kiki
Top achievements
Rank 1
answered on 27 Apr 2007, 01:29 PM
Hi surfer,

 I'm using all other controls from Rad Asp.net and only tooltip from Prometheus. But I have just tried to use Prometheus AjaxManager with old controls and tooltip is working find, I get some strange styling behaviors on grid but the I can live with.

Thanks.
0
Valeri Hristov
Telerik team
answered on 02 May 2007, 10:19 AM
Hi,

Indeed there is a problem when RadToolTip and RadAjaxManager are placed on one page. We will research and resolve the problem ASAP.

Kind regards,
Valeri Hristov (Senior Developer, MCSD)
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Raj Kanaparti
Top achievements
Rank 1
answered on 30 May 2007, 03:59 PM
Hi Valeri :

Can you please give a simple working example for the work around you have mentioned in the post below :
*******************************************************
Useful alternative is to create a theme and copy the custom skin CSS files in the theme folder - the Framework automatically register all CSS files in the theme, used on the page.
********************************************************
That will be very helpful for us to understand. Thanks.

Rajesh
0
Tsvetie
Telerik team
answered on 31 May 2007, 11:32 AM
Hi Raj,
You can find detailed instructions on how to deal with Themes in our online documentation.

For your convenience, I have attached a sample application.

All the best,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Kiki
Top achievements
Rank 1
Answers by
Johan
Top achievements
Rank 1
Kiki
Top achievements
Rank 1
Valeri Hristov
Telerik team
surfer
Top achievements
Rank 1
Raj Kanaparti
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or