Icon Problem with Arabic Language

Page 3 of 3 FirstFirst 123
  1. #21
    Is there a way to avoid loading CSS files beside local files while loading the page?
    I'm not sure I understand your request. Can you provide additional details please.
    Geoffrey McGill
    Founder
  2. #22
    Dear @geoffrey.mcgill,

    Thanks for your kind reply.

    Look into attached photo.

    Click image for larger version. 

Name:	css.jpg 
Views:	44 
Size:	100.0 KB 
ID:	25414

    Is there a way to avoid the auto downloaded CSS file?

    Any drawback if I keep both loaded in the page?
  3. #23
    Hello, @aliabdulla!

    You can selectively disable what is going to be included by Ext.NET or, provided you are having the local copies changed (and as long as you clone every CSS file -- which is not a big amount anyway), you can give your ext:ResourceManager the RenderStyles="File" so that, instead of loading the CSS resource from that AXD path, loads from a plain corresponding path in your website!..

    For instance, the theme file, its "auto download" instance would have originally an URL like

    http://localhost:51299/extjs/packages/theme_triton/build/resources/theme-triton-all-embedded-css/ext.axd?v=5.2.0

    http://localhost:51299/Ext.Net/extjs/packages/theme-triton/build/resources/theme-triton-all.css

    So what you can do to simplify the task is, switch to RenderStyles="File", then note which resource files are missing. Then switch back to the default (RenderStyles="Embedded") and download its contents.

    The advantage of letting the embedded be downloaded is that you can just override what you want to differ, so your custom file will be smaller and easier to maintain.

    The disadvantage in case you copy over the whole file and override just what you need is actually about size as well; the first download (before the browser caches the file) will be double as big for the resources. And the CSS processing may also be reasonably harder as the CSS files are quite extensive.

    So I believe best is to keep in your local version you manually include only and only what you need to override.

    If you want to just have the whole CSS file handy, then you need to take extra care to find all CSS files needed throughout the page (or the application in case you use this rule application-wide), and then set the RenderStyles option. Usually you'd get extra CSS files in pages you use charts, but some components may as well import CSS (although that's not very common if it happens at all).

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
Page 3 of 3 FirstFirst 123

Similar Threads

  1. [CLOSED] Problem DateField force language
    By xeo4.it in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 05, 2013, 2:06 PM
  2. Replies: 0
    Last Post: Sep 11, 2013, 6:28 AM
  3. [CLOSED] [#248] ext:DateField language problem
    By hdsoso in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 30, 2013, 10:12 AM
  4. [CLOSED] Arabic RTL
    By imaa in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 29, 2011, 5:34 PM
  5. [CLOSED] [1.0] Regional and Language Settings Problem
    By kemalyigit in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 08, 2010, 8:52 AM

Posting Permissions