Exemple #1
0
 protected void RefreshDesigner()
 {
     if (_designer != null && isDesign)
     {
         _designer.UpdateDesignTimeHtml();
     }
 }
Exemple #2
0
 internal void OnContentSave()
 {
     if (_savingContents || _viewElement == null || DesignTimeElementView == null || _designerHost == null || _control == null)
     {
         return;
     }
     try
     {
         _savingContents = true;
         _designer.UpdateDesignTimeHtml();
         EmbeddedPersister.PersistControl(Element, _control, _designerHost);
     }
     catch
     {
     }
     finally
     {
         _savingContents = false;
     }
 }