AspNetEdit.Editor.Persistence.ControlPersister.PersistControl C# (CSharp) Method

PersistControl() public static method

public static PersistControl ( Control control ) : string
control System.Web.UI.Control
return string
        public static string PersistControl(Control control)
        {
            if (control.Site == null)
                return string.Empty;

            IDesignerHost host = control.Site.GetService (typeof(IDesignerHost)) as IDesignerHost;

            return PersistControl (control, host);
        }

Same methods

ControlPersister::PersistControl ( Control control, IDesignerHost host ) : string
ControlPersister::PersistControl ( TextWriter sw, Control control ) : void
ControlPersister::PersistControl ( TextWriter sw, Control control, IDesignerHost host ) : void