>Hi,
>
>I have had similar problems by using the fully qualified context.
>
>the Following worked out better, since the HttpCOntext is inherited by the system.web i just use the Request.ApplicationPath, now the problem with that is that it will only return the root of where you are so if you are in "http://localhost/" it will only return "/", the fix that i found is to use the Request.CurrentExecutionFilePath, which return the entire path of the current file location, and all i need to do is then strip out the file name from the last "/". Works everytime.
Hi,
I'm running into the same problem with MM .Net controls not display thier security icons.
I currently use the following to get the current application path.
string path = Request.Url.GetLeftPart(UriPartial.Authority) + this.ResolveUrl( Request.ApplicationPath + "/");
if(path.EndsWith("//"))
{
}
return path;
Could you please explain how to fix the problem for the MM Frameowork? Do you subclass the mmWebDataHelper and fix the GetSecurityIconHtml() method ?
Any help would be appreciated.
Thanks,
Del