StyleSheetReference.IsCommonCss

12 posts, 0 answers
  1. Bent
    Bent avatar
    38 posts
    Member since:
    Sep 2008

    Posted 26 Jan 2010 Link to this post

    I just stumbled upon the IsCommonCss property on the StyleSheetReference class. What is that?
    The documentation is somewhat non-existent on the subject.


    Kenneth
  2. Yana
    Admin
    Yana avatar
    4985 posts

    Posted 27 Jan 2010 Link to this post

    Hello Kenneth,

    We use this property to distinguish the base stylesheet files from the embedded stylesheet files and to find which need to be registered on the page, this also depends on EnableEmbeddedSkins and EnableEmbeddedBaseStylesheet properties of the controls .

    Best wishes,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Bent
    Bent avatar
    38 posts
    Member since:
    Sep 2008

    Posted 27 Jan 2010 Link to this post

    So basically it only matters if I'm creating my own skins?
  4. Yana
    Admin
    Yana avatar
    4985 posts

    Posted 27 Jan 2010 Link to this post

    Hi Kenneth,

    It is only for our internal use, you don't need to set it even when you use custom skins.

    Kind regards,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 05 Nov 2010 Link to this post

    Yana,

    I notice that even in the Q3 docs none of the members of the StyleSheetReference class have any descriptive text against them. Could you get that rectified?

    -- 
    Stuart
  6. Yana
    Admin
    Yana avatar
    4985 posts

    Posted 05 Nov 2010 Link to this post

    Hello Stuart,

    Thank you for reporting this, we'll add the needed descriptions.

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 05 Nov 2010 Link to this post

    Cool.

    Ta.
  8. أشرف
    أشرف avatar
    88 posts
    Member since:
    Jan 2011

    Posted 17 Dec 2013 Link to this post

    The documentation is not somewhat non-existent…it's totally non-existent.

    The context description says "Gets or sets the is common CSS"! While the offline documentation says nothing.
    If it's for Telerik's internal usage, why making it public? It confuses us.
  9. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 19 Dec 2013 Link to this post

    Hello Ashraf,

    Can you please provide the url of the article that you are referring to? Thus I could get a better idea of the case that you describe.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  10. أشرف
    أشرف avatar
    88 posts
    Member since:
    Jan 2011

    Posted 19 Dec 2013 Link to this post

    What I meant by context description, the meta comment added to the property in the .Net assembly. Here it's extracted using a reflector:

    /// <summary>
    /// Gets or sets the is common CSS.
    /// </summary>
    /// <value>The is common CSS.</value>

    The offline help is the downloadable help that you provide to be viewed by the Microsoft Help Viewer (refer to the attached screenshot).
  11. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 23 Dec 2013 Link to this post

    Hi Ashraf,

    Indeed the property that you are referring to is mainly used internally in the code but we also keep in our server-side API so that any user that is interested can refer to is. However, if you need to use the RadStyleSheetManager I would suggest that you refer to the documentation of the control here.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  12. أشرف
    أشرف avatar
    88 posts
    Member since:
    Jan 2011

    Posted 23 Dec 2013 Link to this post

    I think we developers should avoid this property. It's not mentioned in the page you referred to.

    When I come to minifying and combining my styles, I'll test if it make a difference.
Back to Top