Rad StyleSheet Manager - WebResource css file not working when embed inside a folder

4 posts, 0 answers
  1. Meenakshi Nagalingam
    Meenakshi Nagalingam avatar
    53 posts
    Member since:
    Aug 2009

    Posted 21 Aug 2009 Link to this post


    I've tried out creating new skins using RadStyleSheetManager by following the url:

    It was working fine as i followed the url.

    Later i wanted to restructure the folders available in my project based on the skin names. So i moved all the files to a separate folder TelerikSkins and moved all the images, cs file into that. But when i moved the css file in to that folder and modified the webresource as in the code snippet below, the stylesheet is not applied in the web page!

    using System; 
    using System.Collections.Generic; 
    using System.Linq; 
    using System.Text; 
    using System.Web.UI; 
    [assembly: WebResource("TelerikCustomSkins.TelerikSkins.TelerikSkinForComboBox.css""text/css")] 
    namespace TelerikCustomSkins 
       public class TelerikSkin 

    But when it is in the root folder of the project, it is working fine. Otherwise nothing happend!

    Please let me know how to mark a css file as Web Embedded resource when it is inside a folder.

  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 24 Aug 2009 Link to this post

    Hi Meenakshi Nagalingam,

    Please find attached a sample project. Look at the Default2.aspx page and the
    ClassLibraryProject \ TelerikCustomSkins2 class library project.

    The CSS file is under the Vista folder and the images are under Vista \ Images folder.

    I hope this helps.

    Best wishes,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Subhrajyoti
    Subhrajyoti avatar
    1 posts
    Member since:
    Aug 2010

    Posted 23 Aug 2010 Link to this post

    i have got a problem when i run this demo sample loke

    "Object reference not set to an instance of an object."

  4. Stuart Wachsberg
    Stuart Wachsberg avatar
    3 posts
    Member since:
    Dec 2008

    Posted 27 Aug 2010 Link to this post

    Me too.
    I have got same problem
    Telerik.Web.UI_2010_2_826, VS2010
Back to Top