
We're using a telerik:RadEditor and have just updated to .Net 4.7.2.
When we click on some of the controls, e.g. the "strip formatting" control, then we sometimes (not always) get the following error shown in the Browser's console "Cannot read property 'trim' of undefined".
We're running version 2014.1.403.35 of the Telerik.Web.UI. We know that there are newer versions available but don't want to have to upgrade if this is not required.
Two errors are as follows:
---------------------------------------------------
Uncaught TypeError: Cannot read property 'trim' of undefined
at Telerik.Web.UI.Editor.CommandList.FormatStripper (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:5286)
at b.RadEditor.fire (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:9190)
at Telerik.Web.UI.Editor.CommandList.StripAll.StripCss.StripFont.StripSpan.StripWord (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:5262)
at b.RadEditor.fire (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:9190)
at b.RadEditor._onToolClick (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:8636)
at Array.<anonymous> (ScriptResource.axd?d=GZuwEaVOvbbWdhIPYEW2iXV706kRPa3GiaJu8HXrFo-6Dkpyvpw_mc90yZMYw-u19XjJoYxNmUJxy6oyY2r1Ei7PfTXYHJ_D_R5WJpvn6PEq4pTmFNPLO0gBhSW1K50hKayJPStEM8zP2Z1lo6eP3CkFkDQ1&t=ffffffff9a9577e8:5)
at ScriptResource.axd?d=GZuwEaVOvbbWdhIPYEW2iXV706kRPa3GiaJu8HXrFo-6Dkpyvpw_mc90yZMYw-u19XjJoYxNmUJxy6oyY2r1Ei7PfTXYHJ_D_R5WJpvn6PEq4pTmFNPLO0gBhSW1K50hKayJPStEM8zP2Z1lo6eP3CkFkDQ1&t=ffffffff9a9577e8:5
at Telerik.Web.UI.Editor.DefaultToolAdapter._raiseEditorEvent (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:3852)
at Telerik.Web.UI.Editor.DefaultToolAdapter._onDropDownValueSelected (ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:3816)
at Array.<anonymous> (ScriptResource.axd?d=GZuwEaVOvbbWdhIPYEW2iXV706kRPa3GiaJu8HXrFo-6Dkpyvpw_mc90yZMYw-u19XjJoYxNmUJxy6oyY2r1Ei7PfTXYHJ_D_R5WJpvn6PEq4pTmFNPLO0gBhSW1K50hKayJPStEM8zP2Z1lo6eP3CkFkDQ1&t=ffffffff9a9577e8:5)
---------------------------------------------------
and
---------------------------------------------------
ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:237 Uncaught Sys.ArgumentOutOfRangeException: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 268.81817626953125.
at Function.Error$create [as create] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:237:15)
at Function.Error$argumentOutOfRange [as argumentOutOfRange] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:302:21)
at Function$_validateParameterType [as _validateParameterType] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:217:23)
at Function$_validateParameter [as _validateParameter] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:130:18)
at Function$_validateParams [as _validateParams] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:84:22)
at Function.Sys$UI$DomElement$setLocation [as setLocation] (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=q3b8jhBaaaUVjdmDg_sw4nrFIKYD_ZXBnBKuMMRggtywaXsZR-WX-SrK85cfp6HO0ohnUIvJowAa-hyv3u316oBAhhvS3qnnTLe8OlYVJZZd96Oaz4GaxKav4p7ZCE8wWlqOKl24ypgpqcLdQHxop-0L8tmhc5wlmCWOMgADUZOoqK4n0&t=ffffffffecf19baa:4491:22)
at Object.setLocation (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=bpIFcPnUkcYyn1Oas7QeqJT2ya_kbb63D72Bvn5GgMu2P5dJjlApzeU-Cms3QV1qxgTNoEFW6gf9_J5bEnRWID1R9NCGrOOZQVlvu5Ej0TkezzRaH_xo98ADcu_uoOpquFyKrg2&t=192abde7:314:47)
at Telerik.Web.PopupBehavior._fixPositionInBounds (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=Z7NoM4_95v06tABtjkksmY5r-cIQNEuvG5B2q9ugNqnIEIgbVLxL5jY2pnajFDvWmGj4RqkhB8FXtuAJ8iEM--RmejtyD8ygNS-3I1Cr-x_FKyYqOdpmISxVMylcSvMa2jdqIOrTSPuRFiFR2g1tjk82Rt01&t=192abde7:347:10)
at Telerik.Web.PopupBehavior.show (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=Z7NoM4_95v06tABtjkksmY5r-cIQNEuvG5B2q9ugNqnIEIgbVLxL5jY2pnajFDvWmGj4RqkhB8FXtuAJ8iEM--RmejtyD8ygNS-3I1Cr-x_FKyYqOdpmISxVMylcSvMa2jdqIOrTSPuRFiFR2g1tjk82Rt01&t=192abde7:304:12)
at Telerik.Web.UI.EditorToolStrip._show (http://localhost/myWebsiteAdmin/ScriptResource.axd?d=aazrA2IzwYa-mybqnxJHNuwR7oLzVeGKajlCU16FhFRtnS--_IczI6StPES43dF5p3VhdeKc8qmWOjS62Imo4rAdY951oU0nH4rkwDlqPSiwQnJQKTAIVYx_IT3RLnPmHYf8LQ2&t=192abde7:2545:21)

| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server" BackColor="#E0E0E0" |
| Transparency="20"> |
| <table style="width: 100%; height: 100%;"> |
| <tr style="height: 100%;"> |
| <td style="width: 100%; text-align: center; vertical-align: middle;"> |
| <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' |
| style="border-right: 0px; border-left: 0px; border-top: 0px; border-bottom: 0px;" /> |
| </td> |
| </tr> |
| </table> |
| </telerik:RadAjaxLoadingPanel> |
| <telerik:RadAjaxPanel ID="RadAjaxPanel" runat="server" LoadingPanelID="RadAjaxLoadingPanel"> |
| <div style="width:500px; height:500px"> |
| </div> |
| </telerik:RadAjaxPanel> |
Dear all,
is there a way to check if all radcombobox items are check on a button click event?
thanks

Hi, would like to check if Telerik has a control similar to Google Form control for dropdown option list?
something like on page load 1 textbox will be shown, when user entered a value into the textbox, another one will be created below it

I am having an issue when attempting to export a radgrid to excel after utilizing the filters in the auto filter.
Before applying the filter, it works perfectly and exports the data to excel. After applying the filter, the export does not work and appears to simply rebind the grid; however this time the filter rows are removed.
The data for the grid is populated using the NeedDataSource event.
Through searching the forums, I have found that I should probably be using the ExcelML, but this yields the same results.
protected void radimgbtnExcelExport_Click(object sender, ImageButtonClickEventArgs e) { radgridUsageRatio.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML; radgridUsageRatio.ExportSettings.IgnorePaging = true; radgridUsageRatio.ExportSettings.ExportOnlyData = true; radgridUsageRatio.ExportSettings.OpenInNewWindow = true; radgridUsageRatio.MasterTableView.Columns[0].Visible = false; //remove command column radgridUsageRatio.MasterTableView.Columns[1].Visible = false; //remove command column radgridUsageRatio.MasterTableView.ExportToExcel(); }
Any help anyone can provide would be extremely helpful



So i have a textbox field that needs a few alerts and a confirm when a value is entered and the button in the grid is clicked to save the value of the textbox to the database. How would this be achieved?
<telerik:GridTemplateColumn HeaderText="New Price" UniqueName="newprice"> <ItemTemplate> <asp:TextBox ID="txtNewPrice" runat="server" ></asp:TextBox> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn HeaderText="Action" UniqueName="Action"> <ItemTemplate> <asp:Button ID="btnOverride" Text="Override" runat="server" OnClientClick="return Validate();" OnClick="Override_Click"></asp:Button> </ItemTemplate> </telerik:GridTemplateColumn>
Hi,
When I try to use client side validation on RadMaskedTextbox as follows, the validation still takes place after a postback. is this a bug?
I try to follow your demo https://demos.telerik.com/aspnet-ajax/textbox/functionality/validation/defaultvb.aspx
<asp:TextBox ID="batch" runat="server" Width="60%"></asp:TextBox>
<asp:RequiredFieldValidator ErrorMessage="Mandatory" ValidationGroup="Contact" Enabled="True" id="batchReq" ControlToValidate="batch" CssClass="text-danger small" display="dynamic" runat=server />
<br />
<telerik:RadMaskedTextBox RenderMode="Lightweight" EnableEmbeddedSkins="false" Skin="MetroTouchNeutral" ValidationGroup="Contact" ID="rmt_tijd" visible="true" runat="server" Mask="<0..24>:<0..59>" Width="30%"></telerik:RadMaskedTextBox>
<asp:RequiredFieldValidator EnableClientScript="true" ErrorMessage="Mandatory" ValidationGroup="Contact" Enabled="true" InitialValue="00:00" id="RequiredFieldValidator3" ControlToValidate="rmt_tijd" CssClass="text-danger small" display="dynamic" runat=server />
<br />
<asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="Contact" />
Thanks for your help, stay safe
Marc
