I'm trying to figure out how to make a custom button in the toolbar that will allow users to export the content. I have a custom button that does reach the code behind, but since it is tied to "fireAjaxRequest" I suspect that it isn't working since the export requires a full postback. Is there any way to implement an export button in the menu, or does it have to be a button external to the menu (asp button with ID "ExportDOCX2" in the snippet below)?
I suppose I could hide the asp button, and have the custom menubutton click that using javascript, but I'm hoping for something more elegant.
NOTE: Not sure if this changes anything, but the page containing the AJAX editor is being rendered inside of an IFrame so it can be integrated with our existing MVC application. The MVC version of the editor does not currently have all of the same functionality as the AJAX version (which is required for our situation), so we took this approach.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StandardEditor.aspx.cs" Inherits="FIS.Presentation.EWAPPM.DocumentScreens.DocEditor" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns='http://www.w3.org/1999/xhtml'> <script type="text/javascript"> function OnClientLoad(editor, args) { editor.fire("ToggleScreenMode"); } </script> <head runat="server"> <link href="../Content/Telerik/styles.css" rel="stylesheet" type="text/css" /> <link href="./Telerik/styles.css" rel="stylesheet" /> <title></title> </head> <body> <form id="form1" runat="server"><asp:Button Text="Export to DOCX" runat="server" ID="ExportDOCX2" OnClick="ExportDocx_Click"/> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="false" /> <div class="demo-containers"> <div class="demo-container"> <telerik:RadEditor RenderMode="Lightweight" Skin="MetroTouch" ID="theEditor" EnableTrackChanges="true" EnableComments="true" runat="server" Width="100%" ToolsFile="./EditorTools/StandardEditorTools.xml" EnableResize="False" ContentAreaMode="Div" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" ToolbarMode="RibbonBar" OnClientLoad="OnClientLoad" ContentFilters="DefaultFilters,PdfExportFilter"> <TrackChangesSettings CanAcceptTrackChanges="true" UserCssId="reU0"></TrackChangesSettings> <ExportSettings OpenInNewWindow="false" FileName="EWAPPM_DOC"> <Docx DefaultFontName="Arial" DefaultFontSizeInPoints="12" HeaderFontSizeInPoints="8" PageHeader="Some header text for DOCX documents" /> <Pdf PageTitle="Some page title for PDF documents" /> </ExportSettings> <ImageManager EnableAsyncUpload="true" > </ImageManager> <Content> </Content> <Modules> <telerik:EditorModule Name="RadEditorHtmlInspector" Enabled="false" /> <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="false" /> <telerik:EditorModule Name="RadEditorDomInspector" Enabled="false" /> <telerik:EditorModule Name="RadEditorStatistics" Enabled="false" /> </Modules> </telerik:RadEditor> <script type="text/javascript"> Telerik.Web.UI.Editor.CommandList["ExportPDF"] = function (commandName, editor, oTool) { fireAjaxRequest("ExportPDF"); } Telerik.Web.UI.Editor.CommandList["ExportDOCX"] = function (commandName, editor, oTool) { fireAjaxRequest("ExportDOCX"); } Telerik.Web.UI.Editor.CommandList["Save"] = function (commandName, editor, oTool) { fireAjaxRequest("Save"); } Telerik.Web.UI.Editor.CommandList["Submit"] = function (commandName, editor, oTool) { fireAjaxRequest("Submit"); } </script> </div> </div> <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="ConfiguratorPanel1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="theEditor" LoadingPanelID="RadAjaxLoadingPanel1" /> <telerik:AjaxUpdatedControl ControlID="ConfiguratorPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function fireAjaxRequest(operation) { var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>"); ajaxManager.ajaxRequest(operation); } </script> </telerik:RadScriptBlock> <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" Visible="False"> </telerik:RadAjaxLoadingPanel> </form> </body></html>
hi
I have file name like this "2019 03 04 101905_RE Indonesia Possible opposition against the trademark application no 2019 03 04 101 D002014017706 AVATARA in the name of IGB GANGGA D002014017706 AV111111111112019 03 04 101905_RE Indonesia Possi.pdf"
when i try to upload that file name in AsyncUpload control it through the error like this below screen shot.
Hi Support,
We are using licensed version of Telerik UI for ASP.NET AJAX.
Telerik.Web.UI and Telerik.Web.UI.Skins with version "2014.3.1209.45".
We are planning to upgrade our .Net framework to 4.7 ( to the latest framework).
Currently we are using .Net framework 4.5., and the above mentioned Telerik dlls.
How can we upgrade telerik dlls to the latest? Which is the latest version of Telerik UI for ASP.NET AJAX, which will support .Net latest version ?
Will there be any impact if we upgrade to latest version ?
In the application, we use RadGrid, RadButton, AjaxManager etc..
Please let us know.
Thanks,
Sangeetha

Hi guys,
I tried to fix a defect in application. Durning investigation I found out that in js fails on that line
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_isTemplated":true,"_maxHeight":100,"_skin":"Default","_text":"LE Value1,LE Value2,LE Value3","_uniqueId":"ctl00$DefaultContent$CaseDetailsControl_3$mscCaseType$ddlComboBox","allowCustomText":true,"clientStateFieldID":"ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","filter":2,"highlightTemplatedItems":true,"itemData":[{"text":"LE Value1","value":"103"},{"text":"LE Value2","value":"20002"},{"text":"LE Value3","value":"320"}]}, {"dropDownClosed":LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType}, null, $get("ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox"));
In js consol I can see an error.
Uncaught ReferenceError: LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType is not defined
at Array.<anonymous> (CaseDashboard.aspx?C...tionStack=true:1152)
at Telerik.Web.UI.WebRe...cacbc31:6
at Sys._Application._raiseInit (Telerik.Web.UI.WebRes...4cacbc31:6)
at Sys._Application.initialize (Telerik.Web.UI.WebRe...cacbc31:6)
at b (Telerik.Web.UI.WebRe...cacbc31:6)
at HTMLDocument.a (Telerik.Web.UI.WebRes...cacbc31:6)
I played around to find the solution. The thing which I found out and works is that:
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_isTemplated":true,"_maxHeight":100,"_skin":"Default","_text":"LE Value1,LE Value2,LE Value3","_uniqueId":"ctl00$DefaultContent$CaseDetailsControl_3$mscCaseType$ddlComboBox","allowCustomText":true,"clientStateFieldID":"ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","filter":2,"highlightTemplatedItems":true,"itemData":[{"text":"LE Value1","value":"103"},{"text":"LE Value2","value":"20002"},{"text":"LE Value3","value":"320"}]}, {"dropDownClosed":"LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType"}, null, $get("ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox"));
I added quote to name of control which is probelby not defined and app works!
I found that solution: https://www.telerik.com/forums/telerik-web-ui-radcombobox-undefined-in-the-version-2015-2-623-45
I don't want to use that solution, because we use only once in the application and it is so generic, that app pages use this RadScriptManager. I have no idea what influence will have that change on the whole app.

Hi I am trying to select the Multiple nodes in rad Treeview by setting the Boolean Property MultipleSelect="true".
I can able to select the multiple node by pressing "Ctrl + click".
But i am not able to deselect the nodes by pressing "Ctrl + click".
I got from telerik tutorial like this
https://docs.telerik.com/devtools/aspnet-ajax/controls/treeview/accessibility-and-internationalization/multi-node-selection
Currently we are using licensed telerik 2014 version.
Please let me know your inputs on this.

After updating to the 2018.3.910-release the markers on the map seem to be placed quite a bit off from where I clicked with the mouse.
(Attatched files show location of mouse click with a small red dot)
Both the 2018.3.910 release and the 2019.1.215 release causes the same error, but when i go back to 2017.1.228 everything seems to be OK.
Any idea on what can be done?
JavaScript for placing markers:
<script type="text/javascript">
function SetRadMapMarker(eventArgs)
{
eventArgs.sender.markers.add(
{
location: eventArgs.location,
});
}
</script>
RadMap
<telerik:RadMap ID="RadMap1" runat="server" Zoom="17">
<CenterSettings Latitude="42.650613" Longitude="23.379025"/>
<LayersCollection>
<telerik:MapLayer Type="Tile" Subdomains="a,b,c"
UrlTemplate="https://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
Attribution="© <a href='http://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
</telerik:MapLayer>
</LayersCollection>
</telerik:RadMap>
Hi,
I found the following issue navigating through cells on a batch edit mode grid: When you use the up and down keys on a numeric column, the values increases and decreases altering the values in an undesired way.
You can reproduce this on the online demo just clicking a numeric field and pressing key up and down --> Grid Batch Editing
Is this an expected behaviour or something that can be controlled in some way?

Hello,
I have the following FormTemplate that I am using to update/insert. However, I am having issues attempting to read the values of the control. Can someone please advise on how to read controls best, so that I can add these values to the SQL database? I cannot automatically add the values due to having some conditions before adding. Thank you!
<EditFormSettings EditFormType="Template">
<FormTemplate>
<asp:Label runat="server" Text="Closure Location: " Font-Bold="true">
<telerik:RadComboBox ID="ddSiteList" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true">
</telerik:RadComboBox>
</asp:Label>
<asp:Label runat="server" Font-Bold="true" Text="Order Type">
<telerik:RadDropDownList ID="ddType" runat="server" DefaultMessage="Select Order Types">
<Items>
<telerik:DropDownListItem Text="All Types" Value="0"></telerik:DropDownListItem>
<telerik:DropDownListItem Text="Online Only" Value="1"></telerik:DropDownListItem>
</Items>
</telerik:RadDropDownList>
</asp:Label>
<asp:Label ID="lblReason" runat="server" Text="Closure Reason: " Font-Bold="true">
<asp:DropDownList ID="ddReasons" runat="server">
<asp:ListItem Text="Please select a reason" Value=""></asp:ListItem>
</asp:DropDownList>
</asp:Label>
<asp:Label ID="lblFullDay" runat="server" Text="Duration: " Font-Bold="true">
<telerik:RadDropDownList ID="ddDuration" runat="server">
<Items>
<telerik:DropDownListItem Text="Please Select" Value=""></telerik:DropDownListItem>
<telerik:DropDownListItem Text="Partial" Value="0"></telerik:DropDownListItem>
<telerik:DropDownListItem Text="Full Day" Value="1"></telerik:DropDownListItem>
</Items>
</telerik:RadDropDownList>
</asp:Label>
<asp:Label runat="server" Text="Start Time: ">
<telerik:RadDateTimePicker RenderMode="Lightweight" runat="server" ID="timeStart" ></telerik:RadDateTimePicker>
</asp:Label>
<asp:Label runat="server" Text="End Time: ">
<telerik:RadDateTimePicker RenderMode="Lightweight" runat="server" ID="timeEnd"></telerik:RadDateTimePicker>
</asp:Label>
<asp:Label ID="lblDescription" runat="server" Text="Closure Reason: ">
<telerik:RadTextBox ID="txtDescription" runat="server"></telerik:RadTextBox>
</asp:Label>
<asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:Button>
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button>
</FormTemplate>
</EditFormSettings>
C#
protected void rgClosureList_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
if (e.CommandName == "PerformInsert")
{
if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
{
RadTextBox ddValue = FindControl("txtDescription") as RadTextBox;
string sValue = ddValue.Text;
//Open Sql connection and insert values into DB
}
if (e.CommandName == "Update")
{
//Open Sql connection and insert values into DB
}
}

Hello all,
I'm having a frustrating time with the asyncupload control while using bootstrap. They apparently do not play well together?
I found the box-sizing css work-around, which does fix the text/button, but I'm having issues with the upload progress/remove controls.
See attached.
Any advice or solutions?
Thanks.

On a website I have a search page where the user will type in key=value pairs. For example, "Software=SQL" would be a token. I have the auto complete showing the options as they type. I want to see if I can via the web service make two tokens as the user types in "software=SQL software=windows" (Token 1 = "software=SQL" and Token 2="software=windows"). I know they can select from the drop down box to get the token, but I would like to be able to "token" the string as the user types in the string without them needing to select the item from the drop down box. As the user types in "software=SQL software=windows" the UI would show a token for "software=SQL" and a 2nd token for "software=windows". The web service (i.e. server side) will handle the logic to determine on breaking the typed in string into the respective tokens
