| <%@ Page Language="C#" MasterPageFile="~/MasterPages/SiteMaster.master" Title="Manage Provider" AutoEventWireup="true" Inherits="Pgi.Hub.Administration.providerAddEdit" Codebehind="providerAddEdit.aspx.cs" %> |
| <%@ Register TagPrefix="radM" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
| <asp:Content id="Content1" ContentPlaceHolderID="javascript" runat="server"> |
| <script type="text/javascript"> |
| $(document).ready( |
| function() { |
| $("#<%=chkModeratorSameAsTitle.ClientID %>").click(chkModeratorSameAsTitle_click); |
| $("#<%=chkAttendeeSameAsTitle.ClientID %>").click(chkAttendeeSameAsTitle_click); |
| } |
| ); |
| function chkModeratorSameAsTitle_click() { |
| var txtModerator = $get('<%= txtDefaultModeratorEmailSubject.ClientID %>'); |
| if (eval($get('<%= chkModeratorSameAsTitle.ClientID %>')).checked) { |
| txtModerator.disabled = true; |
| } |
| else { |
| txtModerator.disabled = false; |
| } |
| } |
| function chkAttendeeSameAsTitle_click() { |
| var txtAttendee = $get('<%= txtDefaultAttendeeEmailSubject.ClientID %>'); |
| if (eval($get('<%= chkAttendeeSameAsTitle.ClientID %>')).checked) { |
| txtAttendee.disabled = true; |
| } |
| else { |
| txtAttendee.disabled = false; |
| } |
| } |
| function ValidateDefaultModeratorEmailSubject(source, args) { |
| var chkModerator = $get('<%= chkModeratorSameAsTitle.ClientID %>'); |
| args.IsValid = false; |
| if ((chkModerator.checked) || |
| ((!chkModerator.checked) && jQuery.trim(args.Value).length > 0)) { |
| args.IsValid = true; |
| } |
| } |
| function ValidateDefaultAttendeeEmailSubject(source, args) { |
| var chkAttendee = $get('<%= chkAttendeeSameAsTitle.ClientID %>'); |
| args.IsValid = false; |
| if ((chkAttendee.checked) || |
| ((!chkAttendee.checked) && jQuery.trim(args.Value).length > 0)) { |
| args.IsValid = true; |
| } |
| } |
| </script> |
| </asp:Content> |
| <asp:Content ContentPlaceHolderID="mainContent" ID="pageContent" runat="server"> |
| <netspoke:pageHeading |
| ID="pageheading" |
| runat="server" |
| ShowRequiredText="true" /> |
| <netspoke:resultHandler runat="server" ID="resultHandler" /> |
| <asp:ValidationSummary |
| runat="server" |
| ID="validationSummary" |
| DisplayMode="BulletList" |
| ShowMessageBox="false" |
| ShowSummary="true" |
| CssClass="warningResponse" |
| HeaderText="Unable to save the provider. The following problems were encountered with your information:" /> |
| <asp:UpdatePanel runat="server" ID="pnTabStrip" UpdateMode="Always"> |
| <ContentTemplate> |
| <radM:RadTabStrip ID="tabstripBrandingOptions" runat="server" Orientation="HorizontalTop" |
| SelectedIndex="0" CausesValidation="False" MultiPageID="MultiPageBranding" Align="Left" |
| AutoPostBack="true" Skin="Vista"> |
| <Tabs> |
| <radM:RadTab Text="Add Provider" runat="server" PageViewID="addProvider"> |
| </radM:RadTab> |
| <radM:RadTab Text="Linked Enterprises" runat="server" PageViewID="linkedEnterprises"> |
| </radM:RadTab> |
| <radM:RadTab Text="Netspoke Pro Options" runat="server" PageViewID="netspokeOptions"> |
| </radM:RadTab> |
| <radM:RadTab Text="Branding Options" runat="server" SelectedIndex="0"> |
| <Tabs> |
| <radM:RadTab Text="Web Conf. Logo" runat="server" PageViewID="webConfLogo"> |
| </radM:RadTab> |
| <radM:RadTab Text="Hub Logo" runat="server" PageViewID="hubLogo"> |
| </radM:RadTab> |
| <radM:RadTab Text="Marketing Links" runat="server" PageViewID="marketingLinks"> |
| </radM:RadTab> |
| <radM:RadTab Text="Logo Text" runat="server" PageViewID="logoText"> |
| </radM:RadTab> |
| <radM:RadTab Text="Skin" runat="server" PageViewID="skin"> |
| </radM:RadTab> |
| </Tabs> |
| </radM:RadTab> |
| </Tabs> |
| </radM:RadTabStrip> |
| <radM:RadMultiPage ID="MultiPageBranding" runat="server" SelectedIndex="0" CssClass="multiPage"> |
| <radM:RadPageView runat="server" ID="addProvider"> |
| <div class="yui-gd"> |
| <div class="yui-g first leftDiv"> |
| <asp:Localize ID="locProviderName" runat="server" Text="Provider Name:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locProviderType" runat="server" Text="Provider Type:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locHubGroupDomain" runat="server" Text="Hub Group Domain:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locDefaultMeetingServer" Text="Default Meeting Server:" runat="server" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locSecureDefaultMeetingServer" Text="Secure Default Meeting Server:" |
| runat="server" /> <span class="required">*</span> |
| <br /> |
| <asp:Localize ID="locAppShareHost" Text="App Share Host:" runat="server" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locCustomerHomePage" runat="server" Text="Customer Home Page:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locDefaultConferenceTitle" runat="server" Text="Default Conference Title:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locDefaultModeratorEmailSubject" runat="server" Text="Default Moderator Email Subject:" /> <span |
| class="required">*</span> |
| <br /> |
| <asp:Localize ID="locDefaultAttendeeEmailSubject" runat="server" Text="Default Attendee Email Subject:" /> <span |
| class="required">*</span> |
| </div> |
| <div class="yui-g rightDiv"> |
| <asp:TextBox runat="server" ID="txtProviderName" Width="214px" /> |
| <asp:RequiredFieldValidator ID="rvProviderName" runat="server" ControlToValidate="txtProviderName" |
| Display="Dynamic" ErrorMessage="Provider Name is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| |
| <asp:RegularExpressionValidator ID="revProviderName" runat="server" ErrorMessage="Only alphanumeric characters and spaces allowed." |
| ControlToValidate="txtProviderName" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="^[0-9a-zA-Z ]+$"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:DropDownList ID="ddlProviderType" runat="server" /> |
| <br /> |
| <asp:TextBox ID="txtHubGroupDomain" runat="server" onchange="SetText()" Width="214px" /> |
| <asp:RequiredFieldValidator ID="rvHubGrpDomain" runat="server" ControlToValidate="txtHubGroupDomain" |
| Display="Dynamic" ErrorMessage="Hub Group Domain is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| |
| <asp:RegularExpressionValidator ID="revHubGroupDomain" runat="server" ErrorMessage="Not a valid domain name." |
| ControlToValidate="txtHubGroupDomain" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:TextBox ID="txtDefualtMeetingServer" runat="server" Width="214px" /> |
| <input id="inpMeetingServerAppend" readonly="readonly" runat="server" type="text" /> |
| <asp:RequiredFieldValidator ID="rvDefMtngServer" runat="server" ControlToValidate="txtDefualtMeetingServer" |
| Display="Dynamic" ErrorMessage="Default Meeting Server is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| |
| <asp:RegularExpressionValidator ID="revdefMeetingServer" runat="server" ErrorMessage="Only numbers, letters, or dashes allowed." |
| ControlToValidate="txtDefualtMeetingServer" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:TextBox ID="txtSecureDefaultMeetingServer" runat="server" Width="214px" /> |
| <input id="inpSecureMeetingServerAppend" readonly="readonly" runat="server" type="text" /> |
| <asp:RequiredFieldValidator ID="rvSecDefMtngServer" runat="server" ControlToValidate="txtSecureDefaultMeetingServer" |
| Display="Dynamic" ErrorMessage="Secure Default Meeting Server is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| |
| <asp:RegularExpressionValidator ID="revSecDefMeetingServer" runat="server" ErrorMessage="Only numbers, letters, or dashes allowed." |
| ControlToValidate="txtSecureDefaultMeetingServer" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:TextBox ID="txtAppShareHost" runat="server" Width="214px" /> |
| <input id="inpAppShareHostAppend" readonly="readonly" runat="server" type="text" /> |
| <asp:RequiredFieldValidator ID="rvAppShareHost" runat="server" ControlToValidate="txtAppShareHost" |
| Display="Dynamic" ErrorMessage="App Share Host is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| <asp:RegularExpressionValidator ID="revAppShareHost" runat="server" ErrorMessage="Only numbers, letters, or dashes allowed." |
| ControlToValidate="txtAppShareHost" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="(^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$)"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:TextBox ID="txtCustomerHomePage" runat="server" Width="214px" /> |
| <asp:RequiredFieldValidator ID="rvCustomerHomePage" runat="server" ControlToValidate="txtCustomerHomePage" |
| Display="Dynamic" ErrorMessage="Customer Home Page is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| <asp:RegularExpressionValidator ID="revHomePage" runat="server" ErrorMessage="Not a valid url." |
| ControlToValidate="txtCustomerHomePage" Display="Dynamic" SetFocusOnError="True" |
| ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?"></asp:RegularExpressionValidator> |
| <br /> |
| <asp:TextBox ID="txtDefaultConferenceTitle" runat="server" Width="214px" /> |
| <asp:RequiredFieldValidator ID="rvDefaultConferenceTitle" runat="server" ControlToValidate="txtDefaultConferenceTitle" |
| Display="Dynamic" ErrorMessage="Default Conference Title is required" SetFocusOnError="True"></asp:RequiredFieldValidator> |
| <br /> |
| <asp:TextBox ID="txtDefaultModeratorEmailSubject" runat="server" Width="214px" /> |
| <asp:CheckBox ID="chkModeratorSameAsTitle" runat="server" Text="Same as title" /> |
| <asp:CustomValidator ControlToValidate="txtDefaultModeratorEmailSubject" ID="valDefaultModeratorEmailSubject" |
| runat="server" ErrorMessage="Default Moderator Email Subject is required" ValidateEmptyText="true" |
| SetFocusOnError="true" Display="Dynamic" /> |
| <br /> |
| <asp:TextBox ID="txtDefaultAttendeeEmailSubject" runat="server" Width="214px" /> |
| <asp:CheckBox ID="chkAttendeeSameAsTitle" runat="server" Text="Same as title" /> |
| <asp:CustomValidator ControlToValidate="txtDefaultAttendeeEmailSubject" ID="valDefaultAttendeeEmailSubject" |
| runat="server" ErrorMessage="Default Attendee Email Subject is required" ValidateEmptyText="true" |
| SetFocusOnError="true" Display="Dynamic" /> |
| </div> |
| </div> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="linkedEnterprises"> |
| <div id="doc3"> |
| <asp:UpdateProgress ID="UpdateProgressEnterprises" runat="server" AssociatedUpdatePanelID="updatePanelEnterprises" |
| DisplayAfter="0"> |
| <ProgressTemplate> |
| <asp:Image ID="imgAjaxProgress" runat="server" ImageUrl="~/images/ajax-loader.gif" /> |
| </ProgressTemplate> |
| </asp:UpdateProgress> |
| <asp:UpdatePanel ID="updatePanelEnterprises" runat="server"> |
| <ContentTemplate> |
| <div style="width: 870px;"> |
| <table class="widetable"> |
| <tr> |
| <td> |
| <strong> |
| <asp:Localize ID="Localize3" runat="server" Text="Enterprise Name:" /></strong> |
| </td> |
| <td> |
| <asp:TextBox ID="txtEnterpriseName" runat="server" Width="214px" /> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <strong> |
| <asp:Localize ID="Localize6" runat="server" Text="Enterprise Type:" /></strong> |
| </td> |
| <td align="left"> |
| <asp:DropDownList ID="ddlEnterpriseType" runat="server"> |
| </asp:DropDownList> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| </td> |
| <td align="left"> |
| <asp:Button ID="btnSearchEnterprise" runat="server" CssClass="brandingButton" Text="Search" |
| OnClick="btnSearchEnterprise_Click" UseSubmitBehavior="False" CausesValidation="False" /> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| </td> |
| <td> |
| </td> |
| </tr> |
| </table> |
| </div> |
| <div style="width: 900px;"> |
| <table> |
| <tr> |
| <td align="center"> |
| <strong> |
| <asp:Localize ID="locAvaiableEnterprises" runat="server" Text="Search Results" /> |
| </strong> |
| </td> |
| <td align="center"> |
| </td> |
| <td align="center"> |
| <strong> |
| <asp:Localize ID="locSelectedEnterprises" runat="server" Text="Selected Enterprises" /> |
| </strong> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <asp:ListBox ID="lstSearchResults" runat="server" Rows="10" SelectionMode="Multiple" |
| Width="280px"></asp:ListBox> |
| </td> |
| <td align="center" valign="middle"> |
| <asp:Button ID="btnAddEnterprise" runat="server" CssClass="brandingButton" OnClick="btnAddEnterprise_Click" |
| Text="Add>>" UseSubmitBehavior="False" CausesValidation="False" /> |
| </td> |
| <td valign="middle"> |
| <asp:ListBox ID="lstSelectedEnterprises" runat="server" Rows="10" SelectionMode="Multiple" |
| Width="280px"></asp:ListBox> |
| </td> |
| </tr> |
| <tr> |
| <td align="center"> |
| <asp:Button ID="btnClearResults" runat="server" CausesValidation="False" CssClass="brandingButton" |
| OnClick="btnClearResults_Click" Text="Clear Search" UseSubmitBehavior="False" /> |
| </td> |
| <td> |
| </td> |
| <td align="center"> |
| <asp:Button ID="btnDeleteSelected" runat="server" CssClass="brandingButton" OnClick="btnDeleteSelected_Click" |
| Text="Delete Selected" UseSubmitBehavior="False" CausesValidation="False" /> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </ContentTemplate> |
| <Triggers> |
| <asp:AsyncPostBackTrigger ControlID="btnSearchEnterprise" EventName="Click" /> |
| <asp:AsyncPostBackTrigger ControlID="btnAddEnterprise" EventName="Click" /> |
| <asp:AsyncPostBackTrigger ControlID="btnDeleteSelected" EventName="Click" /> |
| <asp:AsyncPostBackTrigger ControlID="btnClearResults" EventName="Click" /> |
| </Triggers> |
| </asp:UpdatePanel> |
| </div> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="netspokeOptions"> |
| <div class="yui-gb"> |
| <div class="yui-g first"> |
| <strong> |
| <asp:Localize ID="locScheduleOptions" runat="server" Text="Scheduling/Joining" /></strong><br /> |
| <asp:CheckBox ID="chkRequirePasscodeChecked" runat="server" Text="Conference private by default" /><br /> |
| <asp:CheckBox ID="chkJoinNoiseEnabled" runat="server" Text="Audio alert when someone joins" /><br /> |
| <asp:CheckBox ID="chkCallMyPhoneEnabled" runat="server" Text="Enable call my phone feature" /><br /> |
| <asp:CheckBox ID="chkPresentationsChecked" runat="server" Text="All uploaded presentations available" /><br /> |
| <asp:CheckBox ID="chkPollingChecked" runat="server" Text="All uploaded polling questions available" /><br /> |
| <asp:CheckBox ID="chkWebRecordingConfigEnabled" runat="server" Text="Web recording is modifiable in scheduling" /><br /> |
| <asp:CheckBox ID="chkRecordAllWeb" runat="server" Text="Record all web conference events" /><br /> |
| </div> |
| <div class="yui-g"> |
| <strong> |
| <asp:Localize ID="locConferenceOptions" runat="server" Text="In Conference" /></strong><br /> |
| <asp:CheckBox ID="chkQAEnabled" runat="server" Text="Enable Q&A" /><br /> |
| <asp:CheckBox ID="chkWebRecordingEnabled" runat="server" Text="Enable web recording option" /><br /> |
| <asp:CheckBox ID="chkChatEnabled" runat="server" Text="Enable chat" /><br /> |
| <asp:CheckBox ID="chkBlockSharingEntireDesktop" runat="server" Text="Enable desktop sharing" /><br /> |
| <asp:CheckBox ID="chkAppShareEnabled" runat="server" Text="Enable AppShare" /><br /> |
| <asp:CheckBox ID="chkSharingVideoEnabled" runat="server" Text="Enable video" /><br /> |
| <asp:CheckBox ID="chkSharedFilesEnabled" runat="server" Text="Enable file transfer" /><br /> |
| <asp:CheckBox ID="chkPollingEnabled" runat="server" Text="Enable polling" /><br /> |
| <asp:CheckBox ID="chkWhiteboardEnabled" runat="server" Text="Enable whiteboard" /><br /> |
| <asp:CheckBox ID="chkPresentationsEnabled" runat="server" Text="Enable PowerPoint sharing" /><br /> |
| <asp:CheckBox ID="chkHelpEnabled" runat="server" Text="Enable live help" /><br /> |
| </div> |
| <div class="yui-g"> |
| <strong> |
| <asp:Localize ID="locAppShareOptions" runat="server" Text="AppShare/Communication" /></strong><br /> |
| <asp:CheckBox ID="chkAppShareMaskingEnabled" runat="server" Text="Hide pop-up windows when sharing" /><br /> |
| <asp:CheckBox ID="chkGrantControlEnabled" runat="server" Text="Grant control to participants enabled" /><br /> |
| <asp:CheckBox ID="chkSecure" runat="server" Text="SSL enabled for all conferences by default" /><br /> |
| <asp:Label ID="lblAppShareColorDepth" runat="server" Text="Set default AppShare color level" /> |
| <asp:DropDownList ID="ddlAppShareColorDepth" runat="server"> |
| <asp:ListItem Text="Low" Value="8" /> |
| <asp:ListItem Text="High" Value="16" /> |
| </asp:DropDownList> |
| <br /> |
| </div> |
| </div> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="webConfLogo"> |
| <div class="yui-gc"> |
| <div class="yui-u first"> |
| <strong> |
| <asp:Localize ID="locWebLogoCurrent" runat="Server" Text="Web Conference Logo:" /> |
| </strong> |
| <br /> |
| <br /> |
| <asp:Localize ID="locSelectLogo" runat="server" Text="Select Conference Logo for upload:" /><br /> |
| <radM:RadUpload ID="RadUploadWebConfLogo" runat="server" InitialFileInputsCount="1" |
| ControlObjectsVisibility="None" MaxFileSize="262144000" MaxFileInputsCount="1" |
| OnValidatingFile="RadUpload_ValidatingFile" Width="100%" EnableFileInputSkinning="false" /> |
| <p> |
| <asp:Localize ID="locRequirements" runat="Server" Text="<i><strong>Logo Requirements:</strong><br>• The file must be in <strong>.jpg or .gif</strong> format<br>• The image must not exceed <strong>150W x 38H</strong> px<br>• The file size must not exceed <strong>128</strong> kb</i>." /> |
| <asp:HiddenField ID="hfWebConfLogo" runat="server" /> |
| </p> |
| <br /> |
| <div id="div1" runat="server"> |
| <asp:Button ID="btnWebConfLogoPreview" runat="server" Text="Preview" OnClick="btnWebConfLogoUpload_Click" |
| CssClass="brandingButton" /> |
| <%--<netspoke:actionButtons ID="abWebConfLogo" runat="server" DisplayCancelButton="false" DisplaySaveButton="true" SaveText="Upload" OnSaveClick="btnWebConfLogoUpload_Click" />--%> |
| </div> |
| <br /> |
| </div> |
| <div class="yui-u"> |
| <asp:Image ID="imgConfLogo" runat="server" CssClass="previewImage" /> |
| </div> |
| </div> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="hubLogo"> |
| <strong> |
| <asp:Localize ID="locHubLogoCurrent" runat="Server" Text="Conferencing Hub Logo:" /> |
| </strong> |
| <asp:Image ID="imgHeaderLogo" runat="server" CssClass="previewImage" /><br /> |
| <br /> |
| <asp:Localize ID="Localize2" runat="Server" Text="Select Conferencing Hub Logo for upload:" /><br /> |
| <radM:RadUpload ID="RadUploadHeaderLogo" runat="server" InitialFileInputsCount="1" |
| ControlObjectsVisibility="None" MaxFileSize="262144000" MaxFileInputsCount="1" |
| OnValidatingFile="RadUpload_ValidatingFile" Width="100%" EnableFileInputSkinning="false" /> |
| <p> |
| <asp:Localize ID="Localize4" runat="Server" Text="<i><strong>Logo Requirements:</strong><br>• The file must be in <strong>.jpg or .gif</strong> format<br>• The image must not exceed <strong>150W x 60H</strong> px<br>• The file size must not exceed <strong>128</strong> kb</i>." /> |
| </p> |
| <asp:Button ID="btnHeaderLogoPreview" runat="server" Text="Preview" OnClick="btnHeaderLogoPreview_Click" |
| CssClass="brandingButton" UseSubmitBehavior="False" /> |
| <asp:HiddenField ID="hfHeaderLogo" runat="server" /> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="marketingLinks"> |
| <div class="yui-g first"> |
| <div class="mkLinks"> |
| <strong> |
| <asp:Localize ID="locMarketingLinks" runat="server" Text="Marketing Links:"></asp:Localize> |
| </strong> |
| <br /> |
| <asp:Localize ID="locMarketingLink1" runat="server" Text="Marketing Link 1"></asp:Localize> |
| <br /> |
| <asp:Localize ID="locMarketingLink2" runat="server" Text="Marketing Link 2"></asp:Localize> |
| <br /> |
| <asp:Localize ID="locMarketingLink3" runat="server" Text="Marketing Link 3"></asp:Localize> |
| </div> |
| <div class="mkLinks text"> |
| <strong> |
| <asp:Localize ID="locMarketingLinkText" runat="server" Text="Marketing Link Text"></asp:Localize> |
| </strong> |
| <br /> |
| <asp:TextBox ID="txtMarketingLinkTxt1" runat="server"></asp:TextBox> |
| <br /> |
| <asp:TextBox ID="txtMarketingLinkTxt2" runat="server"></asp:TextBox> |
| <br /> |
| <asp:TextBox ID="txtMarketingLinkTxt3" runat="server"></asp:TextBox> |
| <br /> |
| </div> |
| <div class="mkLinks text"> |
| <strong> |
| <asp:Localize ID="locMarketingUrl" runat="server" Text="Marketing Link URL"></asp:Localize> |
| </strong> |
| <br /> |
| <in |
| <asp:TextBox ID="txtMarketingLinkUrl1" runat="server"></asp:TextBox> |
| <br /> |
| <asp:TextBox ID="txtMarketingLinkUrl2" runat="server"></asp:TextBox> |
| <br /> |
| <asp:TextBox ID="txtMarketingLinkUrl3" Width="200px" runat="server" CssClass="mkLinksTextbox" ></asp:TextBox> |
| <br /> |
| </div> |
| </div> |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="logoText"> |
| test |
| </radM:RadPageView> |
| <radM:RadPageView runat="server" ID="skin"> |
| <asp:Localize ID="locSkin" runat="server" Text="Skin:" /><span class="required">*</span> |
| <asp:DropDownList ID="ddlSkin" runat="server" /> |
| </radM:RadPageView> |
| </radM:RadMultiPage> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| <asp:HiddenField id="hfBrandingId" runat="server" /> |
| <asp:HiddenField id="hfProviderID" runat="server" /> |
| <br /> |
| <div id="divAction" runat="server"> |
| <netspoke:actionButtons runat="server" ID="actionBtns" OnSaveClick="Save" CancelURL="~/Administration/providerSearch.aspx" /> |
| </div> |
| <br /> |
| </asp:Content> |
| public void RadUpload_ValidatingFile(object sender, ValidateFileEventArgs e) |
| { |
| resultHandler.ResetStatus(); |
| if (e.UploadedFile.ContentLength > _MAX_FILE_SIZE) |
| { |
| resultHandler.ChangeStatus(ActionStatus.Error,"<b>" + e.UploadedFile.GetName() + ":</b> Exceeds Maximum File Size<br>"); |
| e.IsValid = false; |
| } |
| else |
| { |
| switch (e.UploadedFile.GetExtension().ToLower()) |
| { |
| case ".jpg": |
| case ".gif": |
| e.IsValid = true; |
| break; |
| default: |
| resultHandler.ChangeStatus(ActionStatus.Error,"<b>" + e.UploadedFile.GetName() + ":</b> Unknown File Type<br>"); |
| e.IsValid = false; |
| break; |
| } |
| } |
| e.SkipInternalValidation = true; |
| } |
| protected void btnWebConfLogoUpload_Click(object sender, EventArgs e) |
| { |
| //if (Page.IsValid) |
| //{ |
| SaveLocalImage(RadUploadWebConfLogo, 150, 38, hfWebConfLogo); |
| if (RadUploadWebConfLogo.InvalidFiles.Count == 0 && hfWebConfLogo.Value.Length != 0) |
| { |
| imgConfLogo.Visible = true; |
| string path = Server.UrlDecode(hfWebConfLogo.Value); |
| imgConfLogo.ImageUrl = path; |
| //imgConfLogo.ImageUrl = "~/utilities/imagePreview.aspx?path=" + hfWebConfLogo.Value; |
| } |
| else |
| { |
| imgConfLogo.Visible = false; |
| imgConfLogo.ImageUrl = ""; |
| hfWebConfLogo.Value = ""; |
| } |
| //} |
| //else |
| //{ |
| // imgConfLogo.Visible = false; |
| // imgConfLogo.ImageUrl = ""; |
| // hfWebConfLogo.Value = ""; |
| //} |
| } |
Seems like ManualClose is not working when I use "FromCode". Below is my code snippet. Any help will be greatly appreciated.
By the way, I posted here yesterday regarding the "clicked enter" issue. The issue is that my button is "being clicked" when the user hits enter, and therefore the tooltip is displayed. Basically, i'm trying to prevent the tooltip from showing up when user hits enter. I just want it to be displayed when user actually "clicks" on the button. Thats what the code below is doing. It accomplishes that except that the tooltip disappears by itself. I need it to be closed manually and not automatically. I also tried just setting a large value for the hidedelay property but that doesnt seem to work as well. please help.
| <script type="text/javascript"> |
| var enterPressed = false; |
| //displays the tooltip, prevents it from being displayed when user hits enter |
| function DisplayToolTip(tooltipClientID) |
| { |
| var radToolTip1 = $find(tooltipClientID); |
| if (enterPressed == false) |
| { |
| radToolTip1.show(); |
| } |
| } |
| //detect whether the enter key is pressed. |
| function detectEnter(evn) |
| { |
| if (window.event && window.event.keyCode == 13) |
| { |
| enterPressed = true; |
| } |
| else if (evn && evn.keyCode == 13) |
| { |
| enterPressed = true; |
| } |
| else |
| { |
| enterPressed = false; |
| } |
| } |
| document.onkeypress = detectEnter; |
| document.onmousedown = detectEnter; |
| </script> |
| <asp:ImageButton ID="ImageButton1" CausesValidation="false" runat="server"/> |
| <telerik:RadToolTip ID="RadToolTip1" runat="server" Skin="Default" Width="300" |
| ShowEvent="FromCode" |
| HideEvent="ManualClose" |
| TargetControlID="ImageButton1" |
| IsClientID="false" |
| RelativeTo="Element" |
| ShowCallout="False" |
| Position="BottomRight" |
| > |
| </telerik:RadToolTip> on the codebehind (.cs file), i have this: ImageButton1.OnClientClick = "DisplayToolTip('" + RadToolTip1.ClientID +"')";
|
You can find attached to this sticky note all available localizations of RadScheduler for ASP.NET AJAX provided by our customers. If you have any new localizations for RadScheduler and would like to share them with our community, you can send them via the support ticketing system under your account.
Your work will be gladly rewarded.
Here are some useful links relevant to the Localization:
P.S. Please, note that Telerik supports only the provided English (en-US) localizations in the Telerik.Web.UI installation and that the attached here localizations could be incomplete or could have mistakes.
P.S.2. If you want t to update any language packs, you can use the following useful tool: http://www.screwturn.eu/(X(1)S(grc2ro551rnpa2eeviiyb5fn))/ResxSync.ashx. It can add new keys to the translated files whenever you have updated the original English files.
Another good diff and merge tool is WinMerge.