private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("SubscriptionUrlLabel", this.txtSubscriptionUrl_label.ClientID, true); descriptor.AddElementProperty("SubscriptionUrl", this.txtSubscriptionUrl.ClientID, true); descriptor.AddElementProperty("ViewUrlLabel", this.txtViewUrl_label.ClientID, true); descriptor.AddElementProperty("ViewUrl", this.txtViewUrl.ClientID, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddElementProperty("DdlYear", this.DdlYearID, this); descriptor.AddElementProperty("DdlMonth", this.DdlMonthID, this); descriptor.AddElementProperty("DdlDay", this.DdlDayID, this); descriptor.AddProperty("UserDateFormat", EcpDateTimeHelper.GetUserDateFormat()); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddElementProperty("contentChangedElement", ContentChangedId); descriptor.AddElementProperty("contentForceElement", ContentForceId); descriptor.AddElementProperty("contentElement", ContentId); descriptor.AddElementProperty("activeModeElement", ActiveModeId); }
private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("EnableButton", this.btnEnable.ClientID, true); descriptor.AddElementProperty("EditButton", this.btnEdit.ClientID, true); descriptor.AddElementProperty("IsGallatinCheckbox", this.chkIsHostedOnGallatin.ClientID, true); descriptor.AddProperty("LinkToCrossPremiseWorldWide", CrossPremiseUtil.OnPremiseLinkToOffice365WorldWide); descriptor.AddProperty("LinkToCrossPremiseGallatin", CrossPremiseUtil.OnPremiseLinkToOffice365Gallatin); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddElementProperty("AllTypesRadioButton", this.AllTypesRadioButtonID, true); descriptor.AddElementProperty("SpecificTypesRadioButton", this.SpecificTypesRadioButtonID, true); descriptor.AddProperty("value", this.Value); descriptor.AddProperty("TypeEnumToControlMapping", this.typeEnumToControlMapping); }
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 BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddElementProperty("BrowseButton", this.browseButton.ClientID); descriptor.AddElementProperty("IndicatorTd", this.indCell.ClientID); descriptor.AddElementProperty("Indicator", this.cancelButton.ClientID); descriptor.AddElementProperty("TextBox", this.pickerTextBox.ClientID); descriptor.AddProperty("HideClearButton", this.HideClearButton); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("DisplayName", this.displayName); descriptor.AddProperty("SharePointUrl", this.sharePointUrl); descriptor.AddProperty("TeamMailboxAppUrl", this.teamMailboxAppUrl); descriptor.AddElementProperty("BrandingLink", this.brandingLink.ClientID, true); descriptor.AddElementProperty("ContentPanel", this.contentPanel.ClientID, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("CommitButtonProgressDescription", this.CommitButtonProgressDescription, true); descriptor.AddProperty("NextButtonProgressDescription", this.NextButtonProgressDescription, true); descriptor.AddProperty("BackButtonProgressDescription", this.BackButtonProgressDescription, true); descriptor.AddElementProperty("NextButton", base.NextButton.ClientID); descriptor.AddElementProperty("BackButton", base.BackButton.ClientID); descriptor.AddElementProperty("SenderButtonField", this.senderBtn.ClientID); }
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.AddElementProperty("BackButton", this.BackButtonClientID, true); descriptor.AddElementProperty("NextButton", this.NextButtonClientID, true); if (this.ShowWizardStepTitle) { descriptor.AddProperty("ShowWizardStepTitle", true); descriptor.AddElementProperty("ShowWizardStepLabel", this.ShowWizardStepClientID, true); } base.BuildScriptDescriptor(descriptor); }
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) { 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 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); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); if (this.hasButton) { descriptor.AddElementProperty("PickerButton", this.pickerButton.ClientID); } descriptor.AddElementProperty("TextBox", this.textBox.ClientID); descriptor.AddProperty("PickerFormUrl", base.ResolveClientUrl(this.PickerFormUrl)); descriptor.AddProperty("ValueProperty", this.ValueProperty); descriptor.AddProperty("SingleSelect", this.SingleSelect); }
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); descriptor.AddElementProperty("CommitButton", this.CommitButtonClientID, true); descriptor.AddElementProperty("CancelButton", this.CancelButtonClientID, true); descriptor.AddElementProperty("ContentPanel", this.ContentPanel.ClientID, true); descriptor.AddProperty("HideFieldValidationAssistant", this.HideFieldValidationAssistant, true); descriptor.AddProperty("FvaEnabled", this.ReservedSpaceForFVA && !this.HideFieldValidationAssistant, true); descriptor.AddProperty("FvaResource", this.FVAResource); descriptor.AddProperty("PassingDataOnClient", this.PassingDataOnClient, true); descriptor.AddProperty("HideDefaultCancelAction", this.HideDefaultCancelAction, false); descriptor.AddProperty("AlwaysCheckDataLoss", this.AlwaysCheckDataLoss, false); descriptor.AddProperty("SetInitialFocus", this.SetInitialFocus, false); }
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); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("NameSpace", this.NameSpace, true); descriptor.AddProperty("EsoFullAccess", this.EsoFullAccess, true); descriptor.AddElementProperty("IframeElement", this.IframeElementID, this); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddElementProperty("iframe", _iframe.ClientID); descriptor.AddProperty("registeredFields", RegisteredFieldsIds); descriptor.AddProperty("registeredHandlers", RegisteredHandlersIds); }
// Token: 0x060000B8 RID: 184 RVA: 0x0000349D File Offset: 0x0000169D public static void AddElementProperty(this ScriptComponentDescriptor descriptor, string name, string value, bool skipWithEmptyOrNullValue) { if (skipWithEmptyOrNullValue && string.IsNullOrEmpty(value)) { return; } descriptor.AddElementProperty(name, value); }
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); }
/// <summary> /// Describes the settings for this control. /// </summary> /// <param name="descriptor"></param> protected virtual void DescribeComponent(ScriptComponentDescriptor descriptor) { ScriptObjectBuilder.DescribeComponent(this, descriptor, this, this); if (SupportsClientState) { descriptor.AddElementProperty("clientStateField", ClientStateFieldID); } }
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); } }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddElementProperty("headerTab", "__tab_" + ClientID); if (_owner != null) { descriptor.AddComponentProperty("owner", _owner.ClientID); } }
private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddElementProperty("SearchButton", this.searchButton.ClientID, true); descriptor.AddElementProperty("ClearButton", this.clearButton.ClientID, true); descriptor.AddComponentProperty("FromEditor", this.fromAddress.ClientID, true); descriptor.AddComponentProperty("ToEditor", this.toAddress.ClientID, true); descriptor.AddElementProperty("SubjectTextBox", this.subjectTextBox.ClientID, true); descriptor.AddComponentProperty("ListView", this.listViewSearchResults.ClientID, true); descriptor.AddComponentProperty("ListViewDataSource", this.messageTrackingsearchDataSource.ClientID, true); descriptor.AddComponentProperty("ListViewRefreshMethod", this.messageTrackingsearchDataSource.RefreshWebServiceMethod.ClientID, true); descriptor.AddElementProperty("ToAddressRadioButton", this.rbToAddress.ClientID, true); descriptor.AddElementProperty("FromAddressRadioButton", this.rbFromAddress.ClientID, true); descriptor.AddProperty("FvaResource", base.FVAResource); if (this.pickerMailboxToSearch != null) { descriptor.AddComponentProperty("MailboxPicker", this.pickerMailboxToSearch.ClientID, true); } }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); if (!IsDesignMode) { if (this._hiddenFieldID != String.Empty) { descriptor.AddElementProperty("hiddenField", this._hiddenFieldID); } if (this._innerTBID != String.Empty) { descriptor.AddElementProperty("innerTB", this._innerTBID); } if (this._inputFile != null) { descriptor.AddElementProperty("inputFile", this._inputFile.Name.Replace("$", "_")); } descriptor.AddProperty("postBackUrl", Page.Response.ApplyAppPathModifier(Page.Request.RawUrl)); descriptor.AddProperty("formName", Path.GetFileName(this.Page.Form.Name)); if (CompleteBackColor != Color.Empty) { descriptor.AddProperty("completeBackColor", ColorTranslator.ToHtml(CompleteBackColor)); } if (ErrorBackColor != Color.Empty) { descriptor.AddProperty("errorBackColor", ColorTranslator.ToHtml(ErrorBackColor)); } if (UploadingBackColor != Color.Empty) { descriptor.AddProperty("uploadingBackColor", ColorTranslator.ToHtml(UploadingBackColor)); } if (ThrobberID != string.Empty) { var control = this.FindControl(ThrobberID); if (control != null) { descriptor.AddElementProperty("throbber", control.ClientID); } } } }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddElementProperty("DatePicker", this.DatePickerID); descriptor.AddElementProperty("DateComboBox", this.DateComboBoxID); descriptor.AddElementProperty("DateText", this.DateTextID); descriptor.AddElementProperty("Calendar", this.CalendarID); descriptor.AddElementProperty("TimePicker", this.TimePickerID); descriptor.AddProperty("HasTimePicker", this.HasTimePicker); descriptor.AddProperty("Today", this.Today); descriptor.AddProperty("WeekStartDay", this.WeekStartDay); descriptor.AddProperty("GeneralizedDateTimeFormat", this.GeneralizedDateTimeFormat); descriptor.AddProperty("WeekdayDateFormat", this.WeekdayDateFormat); descriptor.AddProperty("YearMonthFormat", this.YearMonthFormat); descriptor.AddScriptProperty("OneLetterDayNames", this.OneLetterDayNames.ToJsonString(null)); descriptor.AddScriptProperty("AbbreviatedDayNames", this.AbbreviatedDayNames.ToJsonString(null)); descriptor.AddScriptProperty("AbbreviatedMonthNames", this.AbbreviatedMonthNames.ToJsonString(null)); descriptor.AddScriptProperty("MonthNames", this.MonthNames.ToJsonString(null)); }
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) { base.BuildScriptDescriptor(descriptor); if (!string.IsNullOrEmpty(this.QueryDataBound)) { descriptor.AddElementProperty("QueryDataBound", this.queryBoundLabel.ClientID); descriptor.AddProperty("QueryDataBoundName", this.QueryDataBound); } descriptor.AddProperty("EmptyValueText", this.EmptyValueText, true); }