Hi.
I created a page with address "~/default.aspx" and an image in it with url "~/Data/rabbit.jpg" and a link. after clicking the link, a query string is added to url. I mean href attribute for link is: href="default.aspx/?param=value".
after page is reloaded, image is not shown. What's the problem? What is tilde before urls?
Thanks
Loading


shashi reddy139 reputationPosted Mar 10, 2011, 11:43 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Mar 12, 2011, 8:44 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Mar 12, 2011, 10:09 AM EST
Majid KamaliRank #6,453 · 266 reputationPosted Mar 12, 2011, 8:33 PM EST
note that first that default page loads it has ~/Default.aspx address.
after I changes "~" to ".." it worked ! Why ?
Sam HobbsRank #107 · 20.5K reputationPosted Mar 12, 2011, 10:05 PM EST
Majid KamaliRank #6,453 · 266 reputationPosted Mar 13, 2011, 1:24 AM EST