protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); BaseForm baseForm = this.Page as BaseForm; if (baseForm != null) { descriptor.AddComponentProperty("Form", "aspnetForm"); } descriptor.AddComponentProperty("ListView", this.ListViewID, this); descriptor.AddElementProperty("DetailsTextBox", this.DetailsTextBoxID, this); descriptor.AddElementProperty("DetailsPanel", this.DetailsPanelID, this); descriptor.AddComponentProperty("ListSource", this.ListSourceID, this); descriptor.AddElementProperty("AddButton", this.AddButtonID, this); descriptor.AddElementProperty("WrapperControl", this.WrapperControlID, this); descriptor.AddElementProperty("SearchPanel", this.SearchPanelID, this); descriptor.AddElementProperty("ContentPanel", this.ContentPanelID, this); descriptor.AddElementProperty("BottomPanel", this.BottomPanelID, this); descriptor.AddProperty("IsMasterDetailed", this.IsMasterDetailed, true); descriptor.AddProperty("DetailsProperty", this.DetailsProperty, true); descriptor.AddProperty("ReturnIdentities", this.ReturnIdentities, true); descriptor.AddProperty("AllowTyping", this.AllowTyping, true); descriptor.AddProperty("SpriteSrc", Util.GetSpriteImageSrc(this)); if (this.ShowWellControl) { descriptor.AddComponentProperty("WellControl", this.wellControl.ClientID); } if (this.filterTextBox != null && !this.HideSearchPanel) { descriptor.AddComponentProperty("FilterTextBox", this.filterTextBox.ClientID); } }
private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("FromEditor", this.senderMatches.ClientID, true); descriptor.AddComponentProperty("ToEditor", this.recipientMatches.ClientID, true); descriptor.AddElementProperty("MessageIDTextBox", this.messageIDTextBox.ClientID, true); descriptor.AddElementProperty("ClientIPTextBox", this.originalClientIPTextbox.ClientID, true); descriptor.AddElementProperty("ReportTitleTextBox", this.reportTitleTextbox.ClientID, true); descriptor.AddElementProperty("NotifyAddressTextBox", this.emailTextbox.ClientID, true); descriptor.AddElementProperty("DdMessageTimeFrame", this.ddMessageTimeframe.ClientID, true); descriptor.AddElementProperty("DdDeliveryStatus", this.ddDeliveryStatus.ClientID, true); descriptor.AddElementProperty("DdDeliveryStatusEx", this.ddDeliveryStatusEx.ClientID, true); descriptor.AddElementProperty("DirectionDropdown", this.ddDirection.ClientID, true); descriptor.AddElementProperty("TimeZoneDropdown", this.ddTimeZone.ClientID, true); descriptor.AddElementProperty("ReportOptionsPanel", "panelOnDemandOptions", true); descriptor.AddElementProperty("DateRangePanel", "dateRangePanel", true); descriptor.AddElementProperty("IncludeReportDetails", this.chkReportDetails.ClientID, true); descriptor.AddComponentProperty("StartDate", this.startDate.ClientID, true); descriptor.AddComponentProperty("EndDate", this.endDate.ClientID, true); descriptor.AddComponentProperty("DockPanel", this.dockpanel.ClientID, true); WebServiceReference webServiceReference = new WebServiceReference(EcpUrl.EcpVDirForStaticResource + "DDI/DDIService.svc?schema=MessageTraceEx"); descriptor.AddProperty("ServiceUrl", EcpUrl.ProcessUrl(webServiceReference.ServiceUrl)); }
private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("FromEditor", this.senderMatches.ClientID, true); descriptor.AddComponentProperty("ToEditor", this.recipientMatches.ClientID, true); descriptor.AddElementProperty("MessageIDTextBox", this.messageIDTextBox.ClientID, true); descriptor.AddComponentProperty("ListView", this.listViewSearchResults.ClientID, true); descriptor.AddComponentProperty("ListViewDataSource", this.messageTraceDataSource.ClientID, true); descriptor.AddComponentProperty("ListViewRefreshMethod", this.messageTraceDataSource.RefreshWebServiceMethod.ClientID, true); descriptor.AddElementProperty("DdMessageTimeFrame", this.ddMessageTimeframe.ClientID, true); descriptor.AddElementProperty("DdDeliveryStatus", this.ddDeliveryStatus.ClientID, true); descriptor.AddElementProperty("CustomLink", this.customLink.ClientID, true); ExDateTime dateTimeValue = ExDateTime.UtcNow.ToUserExDateTime(); dateTimeValue = dateTimeValue.AddMinutes((double)((60 - dateTimeValue.Minute) % 30)); descriptor.AddProperty("StartDate", dateTimeValue.AddHours(-48.0).ToUserDateTimeGeneralFormatString(), true); descriptor.AddProperty("EndDate", dateTimeValue.ToUserDateTimeGeneralFormatString(), true); ExTimeZone exTimeZone; if (RbacPrincipal.Current.UserTimeZone != null) { exTimeZone = RbacPrincipal.Current.UserTimeZone; } else if (!ExTimeZoneEnumerator.Instance.TryGetTimeZoneByName("UTC", out exTimeZone)) { exTimeZone = ExTimeZone.UtcTimeZone; } descriptor.AddProperty("TimeZone", exTimeZone.Id, true); descriptor.AddUrlProperty("PickerFormUrl", "~/Pickers/CustomDateRangePicker.aspx", this); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddComponentProperty("BeforeDatePicker", this.beforeDatePicker.ClientID, this); descriptor.AddComponentProperty("AfterDatePicker", this.afterDatePicker.ClientID, this); descriptor.AddElementProperty("BeforeDateCheckBox", this.chkBeforeDate.ClientID, this); descriptor.AddElementProperty("AfterDateCheckBox", this.chkAfterDate.ClientID, this); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddComponentProperty("editPanel", EditPanel.ClientID); if (_changingToolbar != null) { descriptor.AddComponentProperty("changingToolbar", _changingToolbar.ClientID); } }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddComponentProperty("colorDiv", ColorDiv.ClientID); if (this.MethodButton != null) { descriptor.AddComponentProperty("methodButton", MethodButton.ClientID); } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { PropertyPageSheet propertyPageSheet = (PropertyPageSheet)base.ContentPanel.FindControl("policyPropertyPage"); ListView listView = (ListView)propertyPageSheet.Sections["rules"].FindControl("rulesListView"); descriptor.AddComponentProperty("RulesListView", listView.ClientID, true); descriptor.AddComponentProperty("RulesDataSourceRefreshMethod", this.rulesdatasource.RefreshWebServiceMethod.ClientID); descriptor.AddProperty("DLPPolicyParameterName", "DlpPolicy"); base.BuildScriptDescriptor(descriptor); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddComponentProperty("StartDate", this.dcStartDate.ClientID, true); descriptor.AddComponentProperty("EndDate", this.dcEndDate.ClientID, true); descriptor.AddProperty("DefaultStartDate", this.dcStartDate.Value.ToString("yyyy/MM/dd", CultureInfo.InvariantCulture)); descriptor.AddProperty("DefaultEndDate", this.dcEndDate.Value.ToString("yyyy/MM/dd", CultureInfo.InvariantCulture)); descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("ListViewDataSource", this.dataSource.ClientID, true); }
protected void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("SenderDomainTextArea", this.txtSenderDomainList.ClientID, true); descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("BannedSenderCollectionEditor", this.bannedSenderCollectionEditor.ClientID, true); descriptor.AddComponentProperty("CollectionEditorRefreshMethod", this.bannedSenderDataSource.RefreshWebServiceMethod.ClientID, true); WebServiceReference webServiceReference = new WebServiceReference(EcpUrl.EcpVDirForStaticResource + "DDI/DDIService.svc?schema=BannedSender"); descriptor.AddProperty("ServiceUrl", EcpUrl.ProcessUrl(webServiceReference.ServiceUrl)); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddComponentProperty("ListView", this.complianceProgramListView.ClientID, true); descriptor.AddElementProperty("DistributionGroupPanel", this.pnlDistributionGroup.ClientID); descriptor.AddElementProperty("IncidentManagementPanel", this.pnlIncidentMailbox.ClientID); EcpSingleSelect ecpSingleSelect = (EcpSingleSelect)this.pnlIncidentMailbox.FindControl("chooseIncidentManagementBox"); EcpSingleSelect ecpSingleSelect2 = (EcpSingleSelect)this.pnlDistributionGroup.FindControl("chooseDistributionGroup"); descriptor.AddComponentProperty("IncidentMailboxPicker", ecpSingleSelect.ClientID, true); descriptor.AddComponentProperty("DistibutionGroupPicker", ecpSingleSelect2.ClientID, true); base.BuildScriptDescriptor(descriptor); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); Identity dataContract = Identity.FromExecutingUserId(); Image image = (Image)this.Parent.FindControl(this.ImageElementId); descriptor.AddElementProperty("Image", image.ClientID); descriptor.AddComponentProperty("CancelWebServiceMethod", this.CancelWebServiceMethod.ClientID); descriptor.AddComponentProperty("SaveWebServiceMethod", this.SaveWebServiceMethod.ClientID); descriptor.AddComponentProperty("RemoveWebServiceMethod", this.RemoveWebServiceMethod.ClientID); descriptor.AddScriptProperty("ObjectIdentity", dataContract.ToJsonString(null)); descriptor.AddProperty("RemovingPreviewPhotoText", this.RemovingPreviewPhotoText); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); if (this.ValueProperty != "Identity") { descriptor.AddProperty("ValueProperty", this.ValueProperty); } descriptor.AddUrlProperty("EditCommandUrl", this.EditCommandUrl, this); descriptor.AddUrlProperty("PickerFormUrl", this.PickerFormUrl, this); descriptor.AddProperty("SplitAddRemove", this.SplitAddRemove, true); descriptor.AddProperty("UseModalPopup", this.AlwaysOpenModalDialog || !string.IsNullOrEmpty(this.EditCommandUrl)); descriptor.AddProperty("UseModalessForAdd", this.UseModalessForAdd); descriptor.AddUrlProperty("WholeListEditorUrl", this.WholeListEditorUrl, this); if (this.DialogHeight != 530) { descriptor.AddProperty("DialogHeight", this.DialogHeight); } if (this.DialogWidth != 450) { descriptor.AddProperty("DialogWidth", this.DialogWidth); } if (this.AddCommandDialogHeight != 0) { descriptor.AddProperty("AddCommandDialogHeight", this.AddCommandDialogHeight); } if (this.AddCommandDialogWidth != 0) { descriptor.AddProperty("AddCommandDialogWidth", this.AddCommandDialogWidth); } if (this.EditCommandDialogHeight != 0) { descriptor.AddProperty("EditCommandDialogHeight", this.EditCommandDialogHeight); } if (this.EditCommandDialogWidth != 0) { descriptor.AddProperty("EditCommandDialogWidth", this.EditCommandDialogWidth); } descriptor.AddComponentProperty("ListView", this.ListViewID, this); descriptor.AddComponentProperty("DataSource", this.ListSourceID, this); if (this.ReadOnly) { descriptor.AddProperty("ReadOnly", true); } descriptor.AddProperty("IsUsingOwaPeoplePicker", OwaPickerUtil.CanUseOwaPicker && this.IsUsingOwaPeoplePicker); descriptor.AddProperty("PickerCallerType", this.PickerCallerType); descriptor.AddProperty("IgnoreCaseWhenComparison", this.IgnoreCaseWhenComparison); descriptor.AddProperty("KeepOrderChange", this.KeepOrderChange); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddComponentProperty("ListView", this.ListViewID, this); if (this.RecipientCounts != null) { descriptor.AddProperty("RecipientCounts", this.RecipientCounts); } descriptor.AddElementProperty("RecipientsStatusLinksCell", this.recipientsStatusLinksCell.ClientID, this); descriptor.AddElementProperty("LargeRecipientsTextRow", this.largeRecipientsTextRow.ClientID, this); descriptor.AddComponentProperty("ListViewDataSource", this.ListViewDataSourceID, this); descriptor.AddProperty("IsOWA", this.IsOWA); descriptor.AddProperty("DeliveryReportUrl", this.DeliveryReportUrl); descriptor.AddComponentProperty("NewMailMessageWebServiceMethod", this.newMailMessageWSMethod.ClientID, this); descriptor.AddComponentProperty("DeliveryStatusDataSourceRefreshMethod", this.DeliveryStatusDataSourceRefreshMethod.ClientID, this); }
// Token: 0x060000B6 RID: 182 RVA: 0x0000344D File Offset: 0x0000164D public static void AddComponentProperty(this ScriptComponentDescriptor descriptor, string name, Control control) { if (control == null || !control.Visible) { return; } descriptor.AddComponentProperty(name, control.ClientID); }
// Token: 0x060000B5 RID: 181 RVA: 0x00003437 File Offset: 0x00001637 public static void AddComponentProperty(this ScriptComponentDescriptor descriptor, string name, string value, bool skipWithEmptyOrNullValue) { if (skipWithEmptyOrNullValue && string.IsNullOrEmpty(value)) { return; } descriptor.AddComponentProperty(name, value); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); if (_editPanel != null) { descriptor.AddComponentProperty("editPanel", _editPanel.ClientID); } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddComponentProperty("StartDate", this.dcStartDate.ClientID, true); descriptor.AddComponentProperty("EndDate", this.dcEndDate.ClientID, true); descriptor.AddProperty("DefaultStartDate", this.dcStartDate.Value.ToString("yyyy/MM/dd", CultureInfo.InvariantCulture)); descriptor.AddProperty("DefaultEndDate", this.dcEndDate.Value.ToString("yyyy/MM/dd", CultureInfo.InvariantCulture)); descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("ListViewDataSource", this.dataSource.ClientID, true); if (this.objectIds is RoleGroupPickerControl) { descriptor.AddComponentProperty("RoleGroupPicker", this.objectIds.ClientID, true); return; } descriptor.AddComponentProperty("RecipientPicker", this.objectIds.ClientID, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddUrlProperty("NavigationUrl", this.NavigationUrl, this); descriptor.AddComponentProperty("OwnerControl", this.OwnerControlID, this); descriptor.AddProperty("Width", this.Width, 510); descriptor.AddProperty("Height", this.Height, 564); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); if (RelatedPopup != null && !IsDesign) { descriptor.AddComponentProperty("relatedPopup", RelatedPopup.ClientID); } descriptor.AddProperty("autoClose", AutoClose); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); if (this.MicroEditPanel != null) { descriptor.AddComponentProperty("MicroEditPanel", this.MicroEditPanel.ClientID); descriptor.AddProperty("MicroEditColumnTitle", this.MicroEditPanel.Title); } }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddElementProperty("headerTab", "__tab_" + ClientID); if (_owner != null) { descriptor.AddComponentProperty("owner", _owner.ClientID); } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddProperty("AuditLevelPropertyName", "SetAuditSeverity", true); descriptor.AddProperty("SenderAddressLocationPropertyName", "SenderAddressLocation", true); descriptor.AddProperty("ActivationDatePropertyName", "ActivationDate", true); descriptor.AddProperty("ExpiryDatePropertyName", "ExpiryDate", true); descriptor.AddProperty("UseLegecyRegExParameterName", "UseLegacyRegex", true); descriptor.AddProperty("DLPPolicyParameterName", "DlpPolicy", true); descriptor.AddProperty("ModePropertyName", "Mode", true); descriptor.AddProperty("StopProcessingRuleParameterName", "StopRuleProcessing", true); descriptor.AddProperty("CommentsPropertyName", "Comments", true); descriptor.AddProperty("TransportRuleAgentErrorActionName", "RuleErrorAction", true); descriptor.AddProperty("PriorityParameterName", "Priority", true); descriptor.AddElementProperty("ActivationExpiryContainer", this.activationExpiryPanel.ClientID, false); descriptor.AddComponentProperty("ActivationDatePicker", this.dtpActivationDate.ClientID, false); descriptor.AddComponentProperty("ExpiryDatePicker", this.dtpExpiryDate.ClientID, false); descriptor.AddElementProperty("ActivationDateCheckbox", this.chkActivationDate.ClientID); descriptor.AddElementProperty("ExpiryDateCheckbox", this.chkExpiryDate.ClientID); descriptor.AddElementProperty("RuleModeContainer", this.ruleModePanel.ClientID, false); descriptor.AddComponentProperty("RuleModeList", this.radRuleMode.ClientID, this); descriptor.AddElementProperty("RuleCommentsContainer", this.ruleCommentsPanel.ClientID, false); descriptor.AddElementProperty("CommentsField", this.txtComment.ClientID, this); descriptor.AddProperty("NotifySenderActionName", "NotifySender", true); descriptor.AddProperty("RejectMessageActionName", "RejectMessage", true); descriptor.AddProperty("RejectMessageStatusCodeActionName", "RejectMessageEnhancedStatusCode", true); descriptor.AddProperty("AuditLevelValues", new EnumValue[] { new EnumValue(Strings.ReportSeverityLevelLow, "Low"), new EnumValue(Strings.ReportSeverityLevelMedium, "Medium"), new EnumValue(Strings.ReportSeverityLevelHigh, "High"), new EnumValue(Strings.ReportSeverityLevelAuditNone, string.Empty) }); descriptor.AddProperty("PolicyGroupMembershipValues", this.QueryDLPPolicies()); List <EnumValue> list = new List <EnumValue>(); foreach (object obj in Enum.GetValues(typeof(SenderAddressLocation))) { list.Add(new EnumValue(LocalizedDescriptionAttribute.FromEnum(typeof(SenderAddressLocation), obj), obj.ToString())); } descriptor.AddProperty("SenderAddressLocationValues", list.ToArray()); descriptor.AddElementProperty("RulePriorityContainer", this.rulePriorityPanel.ClientID, false); descriptor.AddElementProperty("PriorityTextbox", this.numberControl.ClientID, this); base.BuildScriptDescriptor(descriptor); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddScriptProperty("Items", this.BuildClientItems(from item in this.items select item.ToJavaScript())); descriptor.AddComponentProperty("OwnerControl", this.OwnerControlID, true); descriptor.AddProperty("CssForDropDownContextMenu", this.CssForDropDownContextMenu, true); descriptor.AddScriptProperty("AdditionalItems", this.BuildClientItems(from item in this.additionalItems select item.ToJavaScript())); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("MinimumPrefixLength", this.MinimumPrefixLength); descriptor.AddProperty("FixedMinimumPrefixLength", this.FixedMinimumPrefixLength); descriptor.AddProperty("CompletionInterval", this.CompletionInterval); descriptor.AddProperty("AutoSuggestionPropertyNames", this.AutoSuggestionPropertyNames); descriptor.AddProperty("AutoSuggestionPropertyValues", this.AutoSuggestionPropertyValues); descriptor.AddComponentProperty("WebServiceMethod", this.WebServiceMethod.ClientID); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddComponentProperty("ListView", this.ListViewID, this); descriptor.AddComponentProperty("DataSource", this.ListSourceID, this); if (!string.IsNullOrEmpty(this.ValidationExpression)) { descriptor.AddScriptProperty("ValidationExpression", "function($_) { return /" + this.ValidationExpression + "/.test($_) }"); descriptor.AddProperty("ValidationErrorMessage", this.ValidationErrorMessage); } if (this.DuplicateHandlingType != DuplicateHandlingType.AllowDuplicate) { descriptor.AddProperty("DuplicateHandlingType", this.DuplicateHandlingType); } if (this.ReadOnly) { descriptor.AddProperty("ReadOnly", true); } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); DockElement dockElement = (this.Controls.Count > 0) ? (this.Controls[0] as DockElement) : null; if (dockElement != null) { descriptor.AddComponentProperty("ChildDockPanel", dockElement); } else if (this.FillPanel != null) { descriptor.AddComponentProperty("FillPanel", this.FillPanel); } if (this.Dock != DockStyle.Fill) { descriptor.AddProperty("Dock", this.Dock); } descriptor.AddProperty("AutoSize", this.AutoSize, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); DockElement dockElement = (this.Controls.Count > 0) ? (this.Controls[0] as DockElement) : null; if (dockElement != null) { descriptor.AddComponentProperty("ChildDockPanel", dockElement); } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); BaseForm baseForm = this.Page as BaseForm; if (baseForm != null) { descriptor.AddComponentProperty("Form", "aspnetForm"); } descriptor.AddElementProperty("PickerTextBox", this.pickerTextBox.ClientID, this); descriptor.AddElementProperty("AddButton", this.btnAddItem.ClientID, this); descriptor.AddElementProperty("BottomPanel", this.bottomPanel.ClientID, this); descriptor.AddComponentProperty("WellControl", this.wellControl.ClientID, this); descriptor.AddProperty("ServiceUrl", EcpUrl.ProcessUrl(this.ServiceUrl.ServiceUrl), true); descriptor.AddProperty("ErrorProperty", this.ErrorProperty, true); descriptor.AddProperty("CanRetryProperty", this.CanRetryProperty, true); descriptor.AddProperty("WarningProperty", this.WarningProperty, true); descriptor.AddProperty("SpriteSrc", Util.GetSpriteImageSrc(this)); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { RadioButton radioButton = (RadioButton)this.properties.Controls[0].FindControl("rbReleaseSelected"); RadioButton radioButton2 = (RadioButton)this.properties.Controls[0].FindControl("rbReleaseAll"); PickerContent pickerContent = (PickerContent)this.properties.Controls[0].FindControl("pickerContent"); descriptor.AddComponentProperty("PickerContent", pickerContent.ClientID, true); descriptor.AddElementProperty("ReleaseAllRadioButton", radioButton2.ClientID, true); descriptor.AddElementProperty("ReleaseSelectedRadioButton", radioButton.ClientID, true); base.BuildScriptDescriptor(descriptor); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { this.EnsureChildControls(); base.BuildScriptDescriptor(descriptor); descriptor.AddElementProperty("IsFromNumbersChbx", this.isFromNumbersChbx.ClientID, this); descriptor.AddElementProperty("IsInContactsFolderChbx", this.isInContactsFolderChbx.ClientID, this); descriptor.AddComponentProperty("PhoneNumbersInEditor", this.phoneNumbersInEditor.ClientID, this); descriptor.AddElementProperty("IsAmongSelectedContactsChbx", this.isAmongSelectedContactsChbx.ClientID, this); descriptor.AddElementProperty("OpenPeoplePickerLink", this.openPeoplePickerLink.ClientID, this); descriptor.AddProperty("PeoplePickerLinkText", Strings.CallerIdsPeoplePickerLinkText, false); }