Click here to Skip to main content
15,923,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
help me to know where to place image that is to be used in project for a image control as url;

my code is here...

XML
<td colspan="1">
<asp:Image ID="imgCalender" runat="server" CssClass="btn" AlternateText="Click to Open Calender" />
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDateTo" PopupButtonID="imgCalender">    </asp:CalendarExtender></td>
Posted

1 solution

Your question is not clear,, but as i understood in two directs,, I am trying here to put solution for both...

If you wana know the asp:image control property where you can define image for control,,,

You can use
ImageUrl="~/Images/abc.gif"


there...


and if you want to know about the place/folder where you want to keep images for your project so for that you can create an ASP.NET folder Themes and than create a folder named Images in your application or you can create a folder whereever in your application and keep the images there but this last option will be not suitable for a Good Programmer.


Hope this will help... :)

EDIT::

Here I have an example..
<asp:Image ID="img1" runat="server" ImageUrl="Place ur image's URL here" />
 
Share this answer
 
v2
Comments
VICK 10-Sep-13 6:30am    
Thanks for Accepting.. :)

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