can anyone help me with folder path file problem>?
-
<asp:RoleGroup Roles="Registrator"> <ContentTemplate> <br /> <a href="Registrator/Register_new_bidder.aspx" ><img src="Images/registerbidder.jpg" border="" /></a> <br /> <a href="Registrator/Edit_Bidder.aspx"><img src="Images/assignseat.jpg" border=""/></a> </ContentTemplate> </asp:RoleGroup> the above is my code when the page is first loaded int he default.aspx(root) the images displays just find however when i log in to another user account and tries to navigate around the subfoler folder(/root/registor/abc.aspx) it will display that it cant find the img file error:file not found root/registor/Images/registerbidder (p.s my subfolder also have an web.config of its own) instead of looking for the file inside the root folder's image folder it look for the image folder inside the subfolder y is this so and how can i solve it please help
-
<asp:RoleGroup Roles="Registrator"> <ContentTemplate> <br /> <a href="Registrator/Register_new_bidder.aspx" ><img src="Images/registerbidder.jpg" border="" /></a> <br /> <a href="Registrator/Edit_Bidder.aspx"><img src="Images/assignseat.jpg" border=""/></a> </ContentTemplate> </asp:RoleGroup> the above is my code when the page is first loaded int he default.aspx(root) the images displays just find however when i log in to another user account and tries to navigate around the subfoler folder(/root/registor/abc.aspx) it will display that it cant find the img file error:file not found root/registor/Images/registerbidder (p.s my subfolder also have an web.config of its own) instead of looking for the file inside the root folder's image folder it look for the image folder inside the subfolder y is this so and how can i solve it please help
-
I also faced the same problem but in different scenario. i solved by replacing html img control "
" to asp:image server control and gave src path as "~/images/registerbidder.jpg" as in ur case. the "~" will point the root path. Yogesh
the error" Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /hog9/~/Registrator/Register_new_bidder.aspx the code:
<a href="~/Registrator/Register_new_bidder.aspx" <>img src="~/Images/registerbidder.jpg" border="" /></a>
i tried it still cant could it be because each of my subfolder have an web.config? -
the error" Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /hog9/~/Registrator/Register_new_bidder.aspx the code:
<a href="~/Registrator/Register_new_bidder.aspx" <>img src="~/Images/registerbidder.jpg" border="" /></a>
i tried it still cant could it be because each of my subfolder have an web.config?