?
Solved

BackImageUrl in ASP Panel

Posted on 2011-03-15
1
Medium Priority
?
926 Views
Last Modified: 2013-11-27
I am trying to set a pdf as a background image in a panel, but nothing shows in the panel when I run the webpage.

Here is my HTML.
<asp:Panel ID="pnlInvite" runat="server" 
         BackImageUrl="~/invites/Simcor Mountains MEI Version.pdf" 
         Height="99px" >
        <table>
                <tr>
                <td style="width: 225px" >
                    <asp:Label ID="lblSpeaker" runat="server" Text='Featuring Guest Lecturer:' CssClass="lblSpeaker" />
                </td>
            </tr>
        </table>
    </asp:Panel>

Open in new window

0
Comment
Question by:triplebd69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Ironhoofs earned 2000 total points
ID: 35138047
I think you can't set a PDF file as background. Try a .JPG, .GIF or .PNG file.
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question