Click here to Skip to main content
15,913,587 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to set the panel to background, but i select i properties window BackImageUrl the files are not displayed, but i have the jpg files in my project folder, how to set to Backimageurl to panel ,
Please anyone help me

Thanking you
Posted

XML
<asp:Panel ID="Panel1" runat="server" BackImageUrl="~/image30.jpeg">
        </asp:Panel>


Ususally this will work you better check your CSS properties for Div tag because during runtime panel will be changed into div tag.

Make sure that your pannel is not empty
 
Share this answer
 
v2
Comments
devausha 15-Dec-11 2:44am    
But in the Source code the filename is with redcolor underlined, and display error "The File is not Found"
Balakrishnan Dhinakaran 15-Dec-11 3:34am    
give the file name of the image with extension..Can you please share your code?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900