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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -