我正在寻找一种方法来解析相对url,就像您使用页面或控件实例的方式一样(MSDN Docs,例如:
Page.ResolveUrl("~/common/Error.aspx");
当我只有一个HttpContext可用时,例如当我在HttpHandler中时,...but。
我是否需要使用自定义函数,比如看到的here
或者有没有办法获得页面使用的底层函数。
https://stackoverflow.com/questions/4893380
相似问题