GetAllWidgetSettings() public méthode

public GetAllWidgetSettings ( System.Guid siteID ) : List
siteID System.Guid
Résultat List
		protected void Page_Load(object sender, EventArgs e) {
			Master.ActivateTab(AdminBaseMasterPage.SectionID.TextWidget);

			if (!IsPostBack) {
				using (CMSConfigHelper cfg = new CMSConfigHelper()) {
					PickerValues = cfg.GetAllWidgetSettings(SiteID);
					gvContent.DataSource = PickerValues;
					gvContent.DataBind();
				}
			}
		}
		public ActionResult TextWidgetIndex() {
			List<CMSTextWidgetPicker> model = new List<CMSTextWidgetPicker>();

			using (CMSConfigHelper cfg = new CMSConfigHelper()) {
				model = cfg.GetAllWidgetSettings(this.SiteID);
			}

			return View(model);
		}