Click here to Skip to main content


GeneralRe: Browser Compatibilty Pinmemberravitejapammi17-Jan-13 21:21 
GeneralRe: Browser Compatibilty PinmvpSandeep Mewara18-Jan-13 0:50 
GeneralJavaScript - window.print() not working in Android mobile browsers Pinmemberravitejapammi24-Jan-13 0:08 
QuestionHow can I delete a Column of XLSX file with EPPlus in web application? [modified] Pinmembercawboy_iran6-Jan-13 21:00 
AnswerRe: How can I delete a Column of XLSX file From EPPlus in web application? PinmvpSandeep Mewara6-Jan-13 22:26 
GeneralRe: How can I delete a Column of XLSX file From EPPlus in web application? Pinmembercawboy_iran7-Jan-13 3:48 
QuestionWoW Slider now showing the image PinmemberJassim Rahma5-Jan-13 9:06 
AnswerRe: WoW Slider now showing the image PinmvpSandeep Mewara5-Jan-13 21:09 
Jassim Rahma wrote:

I doubt if you can see '~' in page view source.
Based on what you say, it surely is relative path issue. Do a right click on the not displayed image and see the source - you will get the final URL being used and probably the issue.
Sounds like it is a relative path issue. This is one of the most common issue faced in a structured website.
There is a method exposed to handle URL's. Have a read: ResolveUrl[^].
I would suggest you to use this Tip and resolve the path correctly before setting the control/image source: Resolving Paths in a Multi-Folder WebSite[^]
Doing something like this can also help:
<img src='<%=ResolveUrl("~/Images/Progress.gif")%>' align="absmiddle" />
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

QuestionUnable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox Pinmemberamsedky5-Jan-13 2:00 
AnswerRe: Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox PinmvpSandeep Mewara5-Jan-13 21:24 
Questiondisplay animated image while save data to Pinmemberashraf almashhari4-Jan-13 22:46 
AnswerRe: display animated image while save data to PinmvpSandeep Mewara4-Jan-13 23:14 PinmemberManjunath Hegde4-Jan-13 1:41 
AnswerRe: PinmemberRahul Rajat Singh4-Jan-13 2:04 
QuestionInsert/Update/Delete Records in Dynamic Generated Textbox/Checkbox and Loop Through All Records Pinmemberguodl3-Jan-13 11:11 
Questionlive update PinmemberSubin Mavunkal3-Jan-13 3:23 
AnswerRe: live update PinmentorKeith Barrow3-Jan-13 3:46 
AnswerRe: live update PinmemberRahul Rajat Singh3-Jan-13 23:04 
QuestionHow to populate WoW Slider from database PinmemberJassim Rahma1-Jan-13 9:32 
QuestionUmbarco or Joomla? PinmemberJassim Rahma1-Jan-13 0:58 
AnswerRe: Umbarco or Joomla? PinmemberRahul Rajat Singh3-Jan-13 22:51 
AnswerRe: Umbarco or Joomla? Pinmemberdeflinek8-Jan-13 3:55 
QuestionSlideShow Control Pinmembercdpsource31-Dec-12 2:19 
AnswerRe: SlideShow Control Pinmemberjkirkerx31-Dec-12 11:23 
GeneralRe: SlideShow Control Pinmembercdpsource1-Jan-13 0:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 24 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid