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.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) { descriptor.AddProperty("SetFacebook", this.SetFacebook); descriptor.AddProperty("CloseWindowWithoutUpdatingSubscription", this.CloseWindowWithoutUpdatingSubscription); descriptor.AddProperty("AppAuthorizationCode", this.AppAuthorizationCode); descriptor.AddProperty("RedirectUri", this.RedirectUri); }
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 BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("Width", this.Width); descriptor.AddProperty("EditControlID", this.EditControlID, true); descriptor.AddProperty("TypeName", this.TypeName, true); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddProperty("tabStripPlacement", this.TabStripPlacement); descriptor.AddProperty("useVerticalStripPlacement", this.UseVerticalStripPlacement); descriptor.AddProperty("onDemand", this.OnDemand); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("ExceptionName", this.ExceptionName); descriptor.AddProperty("ExceptionHandlerType", this.ExceptionHandlerType); descriptor.AddProperty("ErrorCoExistingAction", this.ErrorCoExistingAction); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("RemoveLinkText", this.RemoveLinkText, true); descriptor.AddProperty("IdentityProperty", this.IdentityProperty, true); descriptor.AddProperty("DisplayProperty", this.DisplayProperty, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("Feature", this.Feature); descriptor.AddProperty("OnPremiseFrameVisible", this.OnPremiseFrameVisible); descriptor.AddProperty("LogoutHelperPage", this.LogoutHelperPage); }
protected override void DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddElementProperty("iframe", _iframe.ClientID); descriptor.AddProperty("registeredFields", RegisteredFieldsIds); descriptor.AddProperty("registeredHandlers", RegisteredHandlersIds); }
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 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 DescribeComponent(ScriptComponentDescriptor descriptor) { base.DescribeComponent(descriptor); descriptor.AddProperty("controls", _controlsDescriptor); descriptor.AddProperty("overlays", _overlaysDescriptor); descriptor.AddProperty("xmlPath", ResolveClientUrl(SourceUrl)); descriptor.AddProperty("prefixUrl", Page.Request.ApplicationPath); }
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); }
public IEnumerable <ScriptDescriptor> GetScriptDescriptors() { ScriptComponentDescriptor sd = new ScriptComponentDescriptor("Mediachase.Cms.Toolbox"); sd.ID = this.ClientID + "_Toolbox"; sd.AddProperty("ToolboxId", "showimageT"); sd.AddProperty("ToolboxLocation", tboxLocation.ClientID); return(new ScriptDescriptor[] { sd }); }
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 DescribeComponent(ScriptComponentDescriptor descriptor) { foreach (SmallScriptDescriptor descr in _item.GetSmallScriptDescriptors()) { descriptor.AddProperty("styleItemScript", descr.GetScript()); } descriptor.AddProperty("styleItemID", _item.ClientID); base.DescribeComponent(descriptor); }
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 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); }
public System.Collections.Generic.IEnumerable <ScriptDescriptor> GetScriptDescriptors() { ScriptComponentDescriptor sd = new ScriptComponentDescriptor("Mediachase.Cms.Snap"); sd.ID = this.ClientID + "_Snap"; sd.AddProperty("ContainerId", editedInfo.ClientID); sd.AddProperty("EditedContainerId", isModified.ClientID); sd.AddProperty("PopUpTempContainerId", PopUpTemp.ClientID); return(new ScriptDescriptor[] { sd }); }
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); }
IEnumerable <ScriptDescriptor> IScriptControl.GetScriptDescriptors() { ScriptComponentDescriptor scriptComponentDescriptor = new ScriptComponentDescriptor("LegacyEnumCheckBoxList"); scriptComponentDescriptor.AddProperty("id", this.ClientID); scriptComponentDescriptor.AddProperty("CheckBoxValues", this.CheckBoxValues); return(new ScriptDescriptor[] { scriptComponentDescriptor }); }
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); }
// Implementierung der IScriptControl- Schnittstelle IEnumerable <ScriptDescriptor> IScriptControl.GetScriptDescriptors() { // $create- Aufruf für die Instanzirieung der Componente beschreiben var descr = new ScriptComponentDescriptor("mkoIt.Asp.Html.Ajax.NumBoxUtils"); descr.AddProperty("id", IdClientComponent()); descr.AddProperty("TextBoxId", tbx.ClientID); descr.AddProperty("NumPadId", divNumPad.ClientID); return(new ScriptDescriptor[] { descr }); }
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) { base.BuildScriptDescriptor(descriptor); if (this.DebugMode) { descriptor.AddProperty("DebugMode", true); } descriptor.AddProperty("LocStringsResource", this.LocStringsResource, true); descriptor.AddProperty("Canvas", this.Canvas, true); descriptor.AddProperty("IndentCssClass", this.IndentCssClass, true); descriptor.AddProperty("HelpLinkPrefix", this.HelpLinkPrefix, true); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); if (!this.BarWidth.IsEmpty) { descriptor.AddProperty("BarWidth", this.BarWidth.ToString(CultureInfo.InvariantCulture)); } if (!this.BarHeight.IsEmpty) { descriptor.AddProperty("BarHeight", this.BarHeight.ToString(CultureInfo.InvariantCulture)); } }
public IEnumerable <ScriptDescriptor> GetScriptDescriptors() { if (Page != null) { var desc = new ScriptComponentDescriptor("Nat.Web.Controls.ScrollSaver"); desc.ID = String.Format("scrollSaver_{0}", ID); desc.AddProperty("scrollControls", SerializeControls()); desc.AddProperty("clientID", ClientID); yield return(desc); } }
private void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { descriptor.AddProperty("ServiceUrl", this.ServiceUrl); descriptor.AddProperty("MarketplaceQueryMarket", this.MarketplaceQueryMarket); descriptor.AddProperty("InstallMarketplaceAssetID", this.InstallMarketplaceAssetID); descriptor.AddProperty("DeploymentID", this.DeploymentId); descriptor.AddProperty("MarketplaceServicesUrl", this.MarketplaceServicesUrl); descriptor.AddProperty("MarketplacePageBaseUrl", this.MarketplacePageBaseUrl); descriptor.AddProperty("MarketplaceClid", this.Clid); descriptor.AddProperty("FullVersion", this.FullVersion); descriptor.AddProperty("Scope", this.Scope); descriptor.AddProperty("InstallEtoken", this.Etoken); }
protected override void BuildScriptDescriptor(ScriptComponentDescriptor descriptor) { base.BuildScriptDescriptor(descriptor); descriptor.AddProperty("Buttons", this.Buttons); if (this.PopupAtStartup) { descriptor.AddProperty("PopupAtStartup", true); } if (this.infos != null) { descriptor.AddProperty("Infos", this.infos); } }