Exemplo n.º 1
0
 protected void SetCheckBoxChecked(string itemKey, bool isChecked)
 {
     ResponderApps.EditorDisplay.CheckBoxEditorItem cb = editControl.GetEditorItem(itemKey) as ResponderApps.EditorDisplay.CheckBoxEditorItem;
     if (cb != null)
     {
         cb.IsChecked = isChecked;
     }
 }
Exemplo n.º 2
0
 protected bool GetCheckBoxChecked(string itemKey)
 {
     ResponderApps.EditorDisplay.CheckBoxEditorItem cb = editControl.GetEditorItem(itemKey) as ResponderApps.EditorDisplay.CheckBoxEditorItem;
     if (cb != null)
     {
         return(cb.IsChecked);
     }
     else
     {
         return(false);
     }
 }
 protected void AddCheckBoxItem(string itemKey, string itemTitle, bool isChecked)
 {
     ResponderApps.EditorDisplay.CheckBoxEditorItem item = new ResponderApps.EditorDisplay.CheckBoxEditorItem(itemKey, itemTitle, isChecked);
     this.editControl.AddEditorItem(item);
 }
Exemplo n.º 4
0
 protected void AddCheckBoxItem(string itemKey, string itemTitle, bool isChecked)
 {
     ResponderApps.EditorDisplay.CheckBoxEditorItem item = new ResponderApps.EditorDisplay.CheckBoxEditorItem(itemKey, itemTitle, isChecked);
     this.editControl.AddEditorItem(item);
 }