switch to custom theme

  1. #1

    switch to custom theme

    Hi

    I'm new to ExtJS and Ext.Net and one of the first things I must learn is how to switch to a custom theme.

    I can't seem to find an example of how this is done? Can anyone point me towards one and any documentation if it exists?

    thanks

    Gus
  2. #2
    Hi,

    Briefly: you should reload a page (hard PostBack) and set up new Theme for ResourceManager.

    There is the Theme Switcher in the online Examples Explorer.
    Attachment 3916

    You can investigate the Default.aspx of Ext.Net.Examples project.
  3. #3
    thanks for that, I can now change themes like this in my startup code:

    resourceManager.Theme = Ext.Net.Theme.Slate;
    However, these themes are built into Ext.Net.

    I need to create my own. To start with I downloaded a free one.

    But how do I go about loading mytheme instead of "Slate" or "blue"?

    thanks

    Gus
    Last edited by Daniil; Mar 21, 2012 at 12:28 PM. Reason: Please use [CODE] tags
  4. #4

Similar Threads

  1. Custom Theme
    By Rupesh in forum 1.x Help
    Replies: 0
    Last Post: Apr 18, 2012, 7:03 AM
  2. Create custom theme
    By methode in forum Open Discussions
    Replies: 2
    Last Post: Aug 12, 2009, 5:40 PM
  3. How to create custom theme?
    By dbassett74 in forum 1.x Help
    Replies: 2
    Last Post: Apr 22, 2009, 11:15 PM
  4. Custom Theme
    By Ben in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 02, 2008, 12:04 PM

Posting Permissions