/// <summary> /// Adds a control to the collection. At this point only the /// control and property are stored. /// </summary> /// <param name="WebControl"></param> /// <param name="Property"></param> /// <returns></returns> public bool PreserveProperty(Control WebControl, string Property) { PreservedProperty pp = new PreservedProperty(); pp.ControlId = WebControl.UniqueID; pp.ControlInstance = WebControl; pp.Property = Property; PreservedProperties.Add(pp); return(true); }
/// <summary> /// Adds a control to the collection. At this point only the /// control and property are stored. /// </summary> /// <param name="WebControl"></param> /// <param name="Property"></param> /// <returns></returns> public bool PreserveProperty(Control WebControl, string Property) { PreservedProperty pp = new PreservedProperty(); pp.ControlId = WebControl.UniqueID; pp.ControlInstance = WebControl; pp.Property = Property; PreservedProperties.Add(pp); return true; }