HOw to organize My ASP website
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
<asp:Image runat="server" ImageUrl="~/images/myimage.jpg" />
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
<asp:Image runat="server" ImageUrl="~/images/imagename.jpg" />
or if you using html element then use
-
<asp:Image runat="server" ImageUrl="~/images/imagename.jpg" />
or if you using html element then use
-
you can use this:
<asp:Image ID="Image2" runat="server" ImageUrl="/Images/admin.png" />
<asp:Image ID="Image1" runat="server" ImageUrl="/Images/commentBg.png" />
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
If your master pages is in MasterPage folder than try this..
<asp:Image runat="server" ImageUrl="../images/imagename.jpg" />
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
-
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images UserControl folder to hold all page related to User such as Login, Registration..... And the problem is that how to display images in the masterpage,...... Please help me.
Please help me. I Upload My Website to http://www.mediafire.com/download/201nlx1a7fuhdwb/RNOC\_2016\_03\_24.rar Inthis I have too masterpages, Insite for pages if you have logged in and outsite for others.These masterpage is at root.And Insite.master is the copy of outsite.master added something in menu. The Problem is Default.aspx use outsite.master can show the picture.But Home.aspx use Insite.master can't show the pictures. Please help me Why? Outsite.master and Insite.master is almost the same. Home.aspx and default.aspx is at the same folder and.