Hi Telerik
I get this error when opening WebControl EditForm from a RadGridView. I am using latest version of Telerik. Just updated :)
0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Cannot serialize non finite numbers.
We suspect a bug of Telerik controls:
Bug of Telerik: PageView.set_contentUrl(MyUrl) method - call MyUrl twice if RadTabStrip and RadMultiPage is inside RadAjaxPanel control. Firefox only.
Code: http://bit.ly/2NVbm8Z
It enter here two times: http://bit.ly/2NZ0cQH
If try it in chrome - request goes only one time.
If remove RadAjaxPanel - also request goes only one time.
Is it bug of your Controls?
Hi, I have trouble with RadScriptManager. I would like combine scripts on page to only one file. But when I enabled it, my site threw javascript error on loading.
Please help me fix it, it would also be better if you can help me understand what happened.
First image is what I set up for RadScriptManager
Secondary image is the error.
I have no idea what's Telerik.Web.UI.Point, I haven't used it anywhere.
Please help me get this error out & fix it.
Thank you.
Steps to repro:
1. Go to https://demos.telerik.com/aspnet-ajax/chat/toolbar/defaultcs.aspx
2. Show the toolbar with the ellipses
3. Enter enough messages so that the scroll is shown and continue to enter
4. The toolbar drop down on each click of an icon
See the attached video for more information.
Images that reside in the grid will get resized (scaled down with about 3-5 %) which might cause issues, specially if exporting bar-codes, thus the bar-code scanners won't be able to read them. Current workaround is to use the Telerik Documents Processing Library and build the table manually where the images are inserted without changing the size. Here is an example: protected void RadGrid1_InfrastructureExporting(object sender, GridInfrastructureExportingEventArgs e) { Telerik.Web.UI.ExportInfrastructure.Table table = e.ExportStructure.Tables[0]; Workbook workbook = new Workbook(); workbook.Worksheets.Add(); Worksheet worksheet = workbook.ActiveWorksheet; foreach (var row in table.Rows) { if (row.Index > 1) { worksheet.Rows[row.Index - 1].SetHeight(new RowHeight(55, true)); } foreach (var cell in row.Cells) { if (row.Index == 1 || cell.ColIndex != 2) { worksheet.Cells[cell.Index.Y - 1, cell.Index.X - 1].SetValue(cell.Value.ToString()); } else { FloatingImage image = new FloatingImage(worksheet, new CellIndex(cell.Index.Y - 1, cell.Index.X - 1), 0, 0); Stream stream = File.Open(Server.MapPath(cell.Value.ToString()), FileMode.Open); using (stream) { image.ImageSource = new Telerik.Windows.Documents.Media.ImageSource(stream, "jpg"); } worksheet.Shapes.Add(image); } } } byte[] data; using (MemoryStream ms = new MemoryStream()) { XlsxFormatProvider xlsProvider = new XlsxFormatProvider(); xlsProvider.Export(workbook, ms); data = ms.ToArray(); } Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; Response.Headers.Remove("Content-Disposition"); Response.AppendHeader("Content-Disposition", "attachment; filename=" + RadGridLista.ExportSettings.FileName + ".xlsx"); Response.BinaryWrite(data); Response.End(); }
Simple reproducible is attached to illustrate the problem. A workaround may be replacing RadButtons that invokes such postbacks with regular buttons and using a form decorator Alternatively, you can simply disable the handler URL encryption You can also put the following in the global.asax file to prevent the version from rendering on the page markup protected void Application_BeginRequest(object sender, EventArgs e) { System.Web.HttpContext.Current.Items["_!TelerikVersionStampRendered"] = true; } or you can add the same line in a global Page_Load handler (e.g., in a base page class or in the master page your project uses)
When adding formatting to texts while selecting whole elements, some elements are not included in `isBlockElement` function such as <col> or <colgroup> in a way those elements get wrapped in formatting tags such as <strong> How to Reproduce: Create a table in editor ```html <span>Outside text</span> <table> <colgroup> <col></col> </colgroup> <tbody> <tr> <td>Inside text</td> </tr> </tbody> </table> ``` Select the inside text and outsite text in editor and click for applyng BOLD for instance. colgroup tag gets wrapped in <strong> tags. Some of html5 tags are missing from the isblockelement check as well such as 'article', 'aside', 'audio', 'canvas', 'details', 'figcaption', 'figure', 'footer', 'header', 'hgroup', 'nav', 'output', 'section', 'video'
When selecting an item with Enter key, the rawEvent propagation is not canceled and if a button with submit behavior is on the page, it is clicked. https://www.screencast.com/t/sGVXL2baFj Including this script to the page can be a temporary workaround: var _onEnterKeyOld = Telerik.Web.UI.RadComboBox.prototype._onEnterKey; Telerik.Web.UI.RadComboBox.prototype._onEnterKey = function (e) { _onEnterKeyOld.call(this,e); e.preventDefault() }
There is a black line that has appeared in my RadMenu. The problem can be solved by adding a display: none in the following class: .RadMenu .rmGroup:before, .RadMenu .rmMultiColumn:before, .RadMenu .rmScrollWrap>.rmHorizontal:before, .RadMenu .rmScrollWrap>.rmVertical:before
When track changes disabled the backspace is OK: - User typed two lines (1) & (2) - At the beginning of the line (2) user presses the backspace key, it successfully appended the line (2) with line (1) (where there was a space available). When track changes enabled the backspace does not work as expected: - User typed two lines (1) & (2) - At the beginning of the line (2) user presses the backspace key, it removes the end of the character in line (1).
FileExplorer does not persist the scrolling position of its tree pane when a folder from the tree is selected in LW (and both horizontal and vertical sroll-bars are shown). video - http://screencast.com/t/gG0l8Vbf7