[CLOSED] Tip about include javascript files in aspx page and Aspx page loading time

  1. #1

    [CLOSED] Tip about include javascript files in aspx page and Aspx page loading time

    Last edited by Daniil; Aug 03, 2012 at 5:45 PM. Reason: [CLOSED]
  2. #2
  3. #3
    I would create a base class for all pages. In that base class you could register all required resources (for example, reading from some config file).

    Also you could embed these resources into the dll and load from there in code behind.
    I would like try this. There are any sample?

    Maybe this could help:
    http://forums.ext.net/showthread.php?11873

    I think the same is possible with Ext.NET v2.
    Exactly that I need... thanks a lot.


    I am afraid I don't understand the requirement well, please clarify.
    My question is about a time of loading the extjs files but with a code in item 2, appears solved... thanks a lot.
  4. #4
  5. #5
    Great!!!

    Ext.Loader can load the css files too?
  6. #6
    No, it works with script only
    CSS files must be loaded by page
    Last edited by Daniil; Jul 31, 2012 at 8:28 PM.
  7. #7
    Quote Originally Posted by supera View Post
    I would like try this. There are any sample?
    Unfortunately, I don't have such example. Though there should not be big problems.

    Thanks, @Vladimir, I didn't know that Ext.Loader can load JavaScript!
  8. #8
    Quote Originally Posted by Vladimir View Post
    CSS files must be loaded by page
    Vladimir just said me that you can load a CSS file this way:
    Ext.net.ResourceMgr.load([{url:"my.css", mode:"css"}]);

Similar Threads

  1. Replies: 2
    Last Post: Nov 15, 2012, 12:52 AM
  2. Replies: 5
    Last Post: Oct 23, 2012, 2:19 PM
  3. How can I Load aspx Page in Panel?
    By archana in forum 1.x Help
    Replies: 2
    Last Post: Dec 16, 2011, 4:29 AM
  4. Replies: 9
    Last Post: Mar 01, 2010, 9:49 PM
  5. Replies: 3
    Last Post: Jul 11, 2008, 10:41 AM

Tags for this Thread

Posting Permissions