c# - htmlanchor string URL dropping leading '..' -
i trying write string link htmlanchor tag. url has 2 leading '..' when @ source, leading '..' being dropped. write process:
string pagenumstr = "../pdfview/pdfview.aspx?pgid=" + page + "&adid=" + pageid + "&ref=50";
how ensure leading '..' not dropped?
is asp.net? "source", mean html source in browser? have <base href>
tag on page? , how string onto page (you show being assigned variable).
it's hard tell seeing without context. make sure aren't looking @ resolved url when ".." removed. before , after urls?
Comments
Post a Comment