User-1251705190 posted
Hi ,
I am creating a custom server control and I have a hyperlink control which will be pointing to a specific website.
I want to set the localization at runtime as followed:
string otherSite = "www.Mysite.com/Account/";
HyperLink account = new HyperLink();
account.Text = HttpContext.GetLocalResourceObject(otherSite + "/App_LocalResources", "AccountHyperLink").ToString();
the statement thows an exception : www.Mysite.com/Account/App_LocalResources is not a virtual path...
Please let me know if it is possible to set the local ressource to the other site..
Thanks