Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8536131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:35:29+00:00 2026-06-11T10:35:29+00:00

Shortcuts: EXT = Ext JS 4 application ASP = Asp.Net MVC3 application I have

  • 0

Shortcuts:
EXT = Ext JS 4 application
ASP = Asp.Net MVC3 application

I have a problem in loading the images set in the view of an Ext JS 4 application. The application is part of an Asp.NET MVC 3 project. In my EXT folder i have the classic structure of Sencha MVC application. In the ASP project, EXT folder is situated in : root + “/Sencha/WebClient/”.
In the view of EXT I set the path to an icon of a button like this:

icon: 'images/common/desktop/btnStart.png'

The image doesn’t load because I think the .js file executes in the ASP view folder. I have set appFolder to “/Sencha/WebClient/” in order for the EXT to find the views, controllers, etc but the icon path still remains ‘images/common/desktop/btnStart.png’ instead of “/Sencha/WebClient/images/common/desktop/btnStart.png”.

Is there any solution to resolve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:35:31+00:00Added an answer on June 11, 2026 at 10:35 am

    It won’t working that way. Icon property applied as css style. I suggest in the DOM it looks like

    style="...; background-image: url(images/common/desktop/btnStart.png);"
    

    so it does no matter where js scripts is placed. This image path is relative to the url of the current page, so this style won’t be applied as expected. But if you specify absolute path it will work.

    I can advise you to use sass/scss + compass, and use css classes insted of using images paths. You can setup your images path and more over use mixins that will apply background images you specify

    @mixin backgroundImage($img) {
        $imagesRoot: '/Sencha/WebClient/images/';
        @include background-image($imagesRoot + $img);  
    }
    
    .btnStart {
        @include backgroundImage('common/desktop/btnStart.png');
    }
    

    Then in the button configuration use

    iconCls: 'btnStart'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a lot of custom keyboard shortcuts set up. To avoid having to
I have a C# application that creates shortcuts to launch other programs with specific
'Regular' windows application shortcuts have a target which is a path to an executable
I have one view like shortcuts view with some buttons. Now when I click
So I'm making an application to store shortcuts to all the user's favorite applications,
What specific techniques have you found to learn keyboard shortcuts while programming? I don't
Customer has shortcuts in their data where they have a quantity of records in
update: Got a beautiful app with exclusive shortcuts for every view, all javascript. I'm
Is there any kind of guide about shortcuts in Android? I have the typical
In a WPF application, I am creating a setting window to customize keyboard shortcuts.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.