public static MvcHtmlString RequiredAsterik(this HtmlHelper html, WebViewPage page) { var tooltip = page.SharedResources("AsterikRequired"); return (MvcHtmlString.Create(String.Format("<span style=\"color: #ff0000;\" title=\"{0}\")\">*</span>", tooltip))); }