private void SetAddExtensionUrl(PowerShellResults <SetUMMailboxConfiguration> result) { Section section = base.Sections["UMMailboxExtensionSection"]; EcpCollectionEditor ecpCollectionEditor = (EcpCollectionEditor)section.FindControl("ceExtensions"); ecpCollectionEditor.PickerFormUrl = EcpUrl.AppendQueryParameter(ecpCollectionEditor.PickerFormUrl, "dialPlanId", result.Value.DialPlanId); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); EcpCollectionEditor ecpCollectionEditor = (EcpCollectionEditor)(base.Master as IMasterPage).ContentPlaceHolder.FindControl("Wizard1").FindControl("generalInfoSection").FindControl("ceManagedBy"); ecpCollectionEditor.IsUsingOwaPeoplePicker = true; ecpCollectionEditor.PickerCallerType = PickerCallerType.GroupsOwners; EcpCollectionEditor ecpCollectionEditor2 = (EcpCollectionEditor)(base.Master as IMasterPage).ContentPlaceHolder.FindControl("Wizard1").FindControl("generalInfoSection").FindControl("ceMembers"); ecpCollectionEditor2.IsUsingOwaPeoplePicker = true; ecpCollectionEditor2.PickerCallerType = PickerCallerType.GroupsMembers; PropertyPageSheet propertyPageSheet = (PropertyPageSheet)(base.Master as IMasterPage).ContentPlaceHolder.FindControl("Wizard1"); propertyPageSheet.Attributes["vm-IsInOwaOption"] = "true"; }