Calling ResolveClientUrl within a static web method (ASPNet Web Forms)?

It is possible if called from a web page using.

It is possible if called from a web page using: public static void DoThis() { Page page = HttpContext.Current. Handler as Page; } However, if you are in a web method, it's not going to be the page as the handler; its a handler for the web request. I used this approach from JavaScript, and it did work: iridescence.no/post/Resolving-relative-U... HTH.

It almost feels like a hack. However, it's dead simple and it gets the job done. Also, I feel like it's my only choice.

Great job, thanks! – enriquein Jul 15 '11 at 17:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions