[CLOSED] Make Ext.Net.ResourceManager.IsClientStyleIncludeRegist ered public

  1. #1

    [CLOSED] Make Ext.Net.ResourceManager.IsClientStyleIncludeRegist ered public

    Hi,

    In my Custom Control, I am adding my css files using Ext.Net.X.ResourceManager.RegisterClientStyleInclu de. Since this custom control loads multiples times in the same page, it is adding multiple references to the same css.

    I see there is already a method that could prevent this: Ext.Net.ResourceManager.IsClientStyleIncludeRegist ered. It is currently marked as internal. Would it possible to make it public?

    Thanks
    Last edited by Daniil; Apr 18, 2011 at 9:13 AM. Reason: [CLOSED]
  2. #2
    Hi,

    RegisterClientStyleInclude automatically check that style is registered and no need to check it manually
    Therefore resource manager never add multiple references on the same resource
    Can you provide a code which demonstrates how do you register the style?
  3. #3
    You are right. I had an old Page.Header.Add code left behind that making a mess.

    Thanks.

    Please, mark as solved.

Similar Threads

  1. Replies: 5
    Last Post: Jun 20, 2012, 8:50 AM
  2. Ext.Net Application for Public Administration
    By JoelAlejandro in forum Licensing
    Replies: 1
    Last Post: Jan 09, 2011, 1:16 PM
  3. [CLOSED] Make AdditionalConfig public
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 13, 2009, 11:00 AM
  4. 0.8.0 Release to public?
    By Tbaseflug in forum 1.x Help
    Replies: 6
    Last Post: Mar 06, 2009, 9:30 AM
  5. New Version fo Public Download
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Feb 02, 2009, 11:05 AM

Posting Permissions