[CLOSED] Background image style for panel is not working in chrome

  1. #1

    [CLOSED] Background image style for panel is not working in chrome

    Hi,

    I have added background image to panel as below. It is showing properly in IE where as not showing in Chrome and Firefox. Is they any other way to show background image in all browsers?

    <ext:Panel ID="pnlViewer" runat="server" Region="Center" Layout="VBoxLayout" BodyStyle="background-image:url('images\source.jpg');">
    </ext:Panel>
    Thanks,
    Vamsi.
    Last edited by fabricio.murta; Dec 31, 2015 at 1:15 PM. Reason: [CLOSED]
  2. #2
    Hello @Vamsi!

    Can you try using an ordinary slash instead of a backslash in the image path separation string?

    It worked for me here. Actually, neither browser worked with the backslash for me.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thanks for reply !!!

    Pls help me how we can get the dispaly image from below mentioned path:

    Ext.Net.Button extbtn= new Ext.Net.Button();

    extbtn.IconUrl = "C:/Program Files/OTIS/Server/Library/Icons/Header.jpg";

    Please give me sugesstion and I don't wont to copy to my webAppfolders or any other folders.

    At any cost I have to display the image from above mentioned path.

    Thanks,
    Vamsi
  4. #4
    Hello @Vamsi!

    That would be more an IIS-specific question, not really Ext.NET. One of the alternatives you have is set up a virtual directory to that physical path and review folder permissions so your IIS impersonated user has read access on that path.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] 2.1 Grid Background Image Problem and Panel class
    By antenonline in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 03, 2013, 7:01 AM
  2. [CLOSED] Background image style for panel is not working in chrome
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 20, 2011, 7:04 AM
  3. Replies: 0
    Last Post: Sep 27, 2011, 10:24 AM
  4. Replies: 0
    Last Post: May 03, 2011, 12:13 PM
  5. [CLOSED] Panel Frame Style - Set Background and Font
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 11, 2011, 4:26 PM

Posting Permissions