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

skin - WSS SDK

4 Answers 84 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Dharmesh Trivedi
Top achievements
Rank 1
Dharmesh Trivedi asked on 07 Nov 2007, 09:16 PM
I looked at your whitepaper and in that whitepaper it describe how to get skin file to be used in radcontrols in wss (or moss). This whitepaper assumes that user is doing everything manually (creates ddf file, create manifest file using your utilities). Now with introduction of wss sdk, how do I achieve same result. ( I looked for ddf file but wss sdk does not create one - I guess its creating on the fly?)
Thank You!

4 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 09 Nov 2007, 02:07 PM
Hello,

If the ddf file is created on the fly, then the utility probably indexes all the files in a specific location when it creates the solution package. If this is the case, you will need to copy the RadControls folder to that location, so it will be included in the cabinet file (.wsp).

I installed the WSS 3.0 SDK, but could not find a sample or a utility that automatically generates solutions. Could you tell me where can I find this solution generator?

Best wishes,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dharmesh Trivedi
Top achievements
Rank 1
answered on 09 Nov 2007, 05:52 PM
wss sdk creates wsp file when you select deploy from visual studio 2005. Could you tell me how I can use skin manually in moss/wss? (copy file to certain direcory . .register something?) let me know.
Best Regards,
DT
0
Lini
Telerik team
answered on 12 Nov 2007, 04:33 PM
Hello,

You can manually deploy the skins by copying them in the SharePoint web site. After that you just need to set the SkinsPath property of the control. For example:

You are creating a web part using RadMenu. First you need to copy the RadControls\Menu\Skins\ folder to \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\RadMenuSkins\
Then you need to set the SkinsPath property of the menu:

protected override void CreateChildControls()  
{  
    base.CreateChildControls();  
    //...code to create the menu RadMenu1  
    RadMenu1.SkinsPath = "/_layouts/RadMenuSkins/";  

After that you will be able to use the Skin property of the menu control.

If the above steps do not work, verify that you can access the menu skin files from the browser. For example:

http://yourserver/_layouts/RadMenuSkins/Default/styles.css


All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dharmesh Trivedi
Top achievements
Rank 1
answered on 13 Nov 2007, 09:11 PM
yeap it did the trick. one correction (which was easy to figure out!)
change "/_layouts/RadMenuSkins/ to "/_layouts/RadMenu/Skins/

thank you very much.
Tags
Sharepoint Integration
Asked by
Dharmesh Trivedi
Top achievements
Rank 1
Answers by
Lini
Telerik team
Dharmesh Trivedi
Top achievements
Rank 1
Share this question
or