skin - WSS SDK

5 posts, 0 answers
  1. Dharmesh Trivedi
    Dharmesh Trivedi avatar
    5 posts
    Member since:
    Oct 2007

    Posted 07 Nov 2007 Link to this post

    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!
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 09 Nov 2007 Link to this post

    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

  3. Dharmesh Trivedi
    Dharmesh Trivedi avatar
    5 posts
    Member since:
    Oct 2007

    Posted 09 Nov 2007 Link to this post

    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
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 12 Nov 2007 Link to this post

    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
  5. Dharmesh Trivedi
    Dharmesh Trivedi avatar
    5 posts
    Member since:
    Oct 2007

    Posted 13 Nov 2007 Link to this post

    yeap it did the trick. one correction (which was easy to figure out!)
    change "/_layouts/RadMenuSkins/ to "/_layouts/RadMenu/Skins/

    thank you very much.
Back to Top