protected void TransformWebControls(Sitecore.Pipelines.RenderField.RenderFieldArgs args)
 {
     System.Web.UI.Page page = new System.Web.UI.Page();
     page.AppRelativeVirtualPath = "/";
     System.Web.UI.Control control = page.ParseControl(args.Result.FirstPart);
     args.Result.FirstPart = Sitecore.Web.HtmlUtil.RenderControl(control);
 }
Esempio n. 2
0
		protected void TransformWebControls(Sitecore.Pipelines.RenderField.RenderFieldArgs args) {
			System.Web.UI.Page page = new System.Web.UI.Page();
			page.AppRelativeVirtualPath = "/";
			System.Web.UI.Control control = page.ParseControl(args.Result.FirstPart);
			args.Result.FirstPart = Sitecore.Web.HtmlUtil.RenderControl(control);
		}