Bug report
It is not possible to print a PDF through the PDFViewer print tool on Desktop Chrome and Android Chrome.
Reproduction of the problem
Load PDFViewer Basic Usage demo and tap on Print tool - https://demos.telerik.com/aspnet-ajax/pdfviewer/overview/defaultcs.aspx
Current behavior
Android - "There was a problem printing the page. Please try again." - no preview
Windows - the Print dialog shows and closes automatically
Expected/desired behavior
Print preview is available, allowing you to find a printer and print
Hi Telerik,
Just a heads-up - some of the demo pages are generating errors:
I have found this on:
Test Environment:
OS: Windows_11
Actual Behavior:
Focus moves on non-interactive controls.
Expected Behavior:
Focus shouldn't go to the non-interactive element in table content.
Dear staff I know this post
https://www.telerik.com/support/code-library/detecting-changes-to-the-radeditor
But in any case the component RadEditor have the method 'OnTextChanged' in the client side.
Probably, id it doesn't works, is better to remove it.
Thanks
Renato
Pasting plain text content from notepad or other text editor into the RadEditor control (design view) results in container HTML tags adding to the content and inline styles that make the text unreadable.
Content pasted:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut placerat orci nulla pellentesque dignissim enim sit. Diam quam nulla porttitor massa id neque. Ipsum suspendisse ultrices gravida dictum fusce ut. Sed odio morbi quis commodo odio aenean. Sed faucibus turpis in eu mi bibendum neque egestas congue. Sed pulvinar proin gravida hendrerit. Cras semper auctor neque vitae tempus. Nisi porta lorem mollis aliquam ut porttitor leo a diam. Quis vel eros donec ac odio tempor. Tellus in metus vulputate eu scelerisque felis imperdiet proin. Et ligula ullamcorper malesuada proin libero nunc consequat interdum. Neque viverra justo nec ultrices.
Result in RadEditor:
<div class="telerik_paste_container" style="border-width: 0px; position: absolute; overflow: hidden; margin: 0px; padding: 0px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut placerat orci nulla pellentesque dignissim enim sit. Diam quam nulla porttitor massa id neque. Ipsum suspendisse ultrices gravida dictum fusce ut. Sed odio morbi quis commodo odio aenean. Sed faucibus turpis in eu mi bibendum neque egestas congue. Sed pulvinar proin gravida hendrerit. Cras semper auctor neque vitae tempus. Nisi porta lorem mollis aliquam ut porttitor leo a diam. Quis vel eros donec ac odio tempor. Tellus in metus vulputate eu scelerisque felis imperdiet proin. Et ligula ullamcorper malesuada proin libero nunc consequat interdum. Neque viverra justo nec ultrices.</div>
See accompanying screenshots.
While changing the value from RadCombox, meaning firing the SelectedIndexChanged, I am getting the below error.
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at MDM.WebApplication.MyPendingActions.rgrid_ItemDataBound(Object sender, GridItemEventArgs e)
at Telerik.Web.UI.RadGrid.OnItemDataBound(GridItemEventArgs e)
at Telerik.Web.UI.GridCommandItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows)
at Telerik.Web.UI.GridTableView.CreateTopCommandItem(Boolean useDataSource, GridColumn[] copiedColumnSet, GridTHead thead)
at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at Telerik.Web.UI.GridTableView.PerformSelect()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason)
at Telerik.Web.UI.RadGrid.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint).
When trying on localhost SelectedIndexChanged of RadCombobox is getting fired and rgrid_NeedDataSource of RadGrid is not fired but when deployed on IIS, the scenario is opposite, SelectedIndexChanged is not fired but rgrid_NeedDataSource is getting fired.
Please help.
Also another thing, I wanted to understand how to use licenses.licx file in our project for telerik dll version 2013.1.314.45?
The issue can be replicated with AutoCompleteBox demo: https://demos.telerik.com/aspnet-ajax/autocompletebox/examples/default/defaultcs.aspx
Set the SingleLineEntries property to "Enabled", and add a new Entry to the AutoCompleteBox. At this point, the page will scroll up and as a result hiding the AutoCompleteBox.
I just installed the latest release (Telerik_UI_for_ASP.NET_AJAX_2023_1_314) and the program gives me an error.
This is the error :
Hello,
I'm facing JavaScript issues after enabling "Telerik.ScriptManager.EnableHandlerEncryption" on Web.config,
I've just followed Encrypt Telerik WebResource Querystring in order to hide the Telerik version.
After this the RadMenu breaks when i do a PostBack action (by pressing a button), the console outputs the same error when hovering a RadMenuItem and the submenus has stop being displayed.
The console error:
Uncaught TypeError: Cannot read properties of null (reading 'apply')
at Type.callBaseMethod (Telerik.Web.UI.WebRe...=:6:7353)
at c.RadMenuItem._createChildControls (Telerik.Web.UI.WebRe...=:5300:49)
at c.RadMenuItem._ensureChildControls (Telerik.Web.UI.WebRe...=:2770:72)
at c.RadMenuItem._getChildren (Telerik.Web.UI.WebRe...=:2768:32)
at c.RadMenuItem.get_items (Telerik.Web.UI.WebRe...=:3552:36)
at c.RadMenuItem._onItemMouseOver (Telerik.Web.UI.WebRe...=:4159:8)
at Telerik.Web.UI.EventMap._onDomEvent (Telerik.Web.UI.WebRe...=:3289:6)
at HTMLDivElement.<anonymous> (Telerik.Web.UI.WebRe...=:6:307)
at HTMLDivElement.b (Telerik.Web.UI.WebRe...=:623:53)
I've tested this error with version 2020.2.617.45 and 2022.3.913 but the same problem.
Looking in the forum i've found this post with a related issue also a reply has a reference to a private feedback and this last one seems to be the same or almost the same problem, so i've tried to follow the workaround on "global.asax" file and "Page_Load" on the master page without luck.
The steps i've follow:
I'd like to have another way to workaround this in order to make RadMenu work properly again and keep Telerik version hidden.
Regards
Description:
'Selected' state is not defined for 'Pagination controls' in entire page.
Environment (OS, Application, Versions):
OS: Windows_11
Version: 21H2
OS Build: 22000.856
Browser: Microsoft Edge Version 105.0.1343.33 (Official build) (64-bit)
URL: https://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
Screen Reader: NVDA(2022.2)
Repro Steps:
1. Open URL:https://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx page in Edge Browser.
2. Navigate to pagination controls present below "Book A Car' table under 'Overview'.
3. Open NVDA.
4. Navigate to 'Selected button' on pagination controls.
5. Observe an issue that 'Selected' state is not defined for 'Pagination controls'.
Actual Result:
'Selected' state is not defined for 'Pagination controls' in entire page.
Expected Result:
State 'Selected' should be defined on pagination controls. In this case, the expected role is {button or has a pop-up}. All components need a proper role attribute, ideally with semantics. In rare cases a role attribute should be added to give full context and information to assistive technology. Learn more by reading about when to use an aria role and the html/aria role mappings.
Test Environment:
OS: Windows_11URL: https://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
Screen Reader: NVDA (2021.3)
Repro Steps:
Actual Behavior:
Incorrect role as 'link' is defined for button control "Book Now."
Expected Behavior:
In this case, the expected role is {button}. For the "Book Now" button the correct role should be defined.
All components need a proper role attribute, ideally with semantics. In rare cases a role attribute should be added to give full context and information to assistive technology.
Test Environment:
OS: Windows_11URL: https://demos.telerik.com/aspnet-ajax/calendar/overview/defaultcs.aspx
Tool: Accessibility Insight for web.
Repro Steps:
1. Open URL: https://demos.telerik.com/aspnet-ajax/calendar/overview/defaultcs.aspx page in Edge Browser.
2. Navigate to calendar under overview Section by using tab key.
3. Run Accessibility Insight tool.
4. Verify the bug.
Actual Behavior:
Ensures the contrast foreground and background colors doesn't meet WCAG 2AA contrast ratio thresholds.
Expected Behavior:
Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds.
Test Environment:
OS: Windows_11URL: https://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
Screen Reader: NVDA (2021.3)
Repro Steps:
1. Open URL https://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx page in edge browser and turn on NVDA.
2. Navigate to table by using Tab key.
3. Observe that screen reader is announcing clickable when focus lands on table.
Actual Results:
Screen reader is announcing clickable when focus lands on table.
Expected Results:
The screen reader should only read relevant information once for each item.
TEST ENVIRONMENT
OS: Windows_11Screen Reader: NVDA (2021.3)
REPRO STEPS:
1. Open URL Telerik Web UI Grid Overview Demo | Telerik UI for ASP.NET AJAX page in edge browser and turn on NVDA.
2. Navigate to next/previous controls in browse mode on the over view page.
3. Observe the issue.
ACTUAL RESULTS:
In browse mode, name property is not announced by the screen reader for next/previous buttons.
EXPECTED RESULT:
In browse mode, Screen reader should announce a name p:roperty 'First, Next, Previous and Last page' for the controls.
Environment (OS, Application, Versions)
Screen Reader: NVDA 2022.1
Repro-Steps:
Deleting of a table by delete or backspace key does not work when the selection contains only the table. Steps to reproduce: 1. Set the following content <p>test p1</p> <table> <tbody> <tr> <td>test</td> <td>test</td> </tr> </tbody> </table> <p>test p2</p> 2. Select the table only and press delete or backspace key Actual: Only the content has been deleted. Expected: The table and its content to be deleted. Workaround: <telerik:RadEditor ID="RadEditor1" runat="server"> </telerik:RadEditor> <script type="text/javascript"> (function () { var $T = Telerik.Web.UI; var utils = $T.Editor.Utils; var isTableSelected = function (selected) { if (utils.isTag(selected, "table")) { return true; } var table = utils.getElementParentByTag(selected, "TABLE"); return table && !!utils.getElementParentByCondition(selected, function (current) { return utils.isAncestorOrSelf(table, current) && utils.isSingleChild(current); }); }; // Fix for delete table by delete or backspace key var formatFragments = $T.Editor.DeleteSelectionCommand.prototype.formatFragments; $T.Editor.DeleteSelectionCommand.prototype.formatFragments = function (fragments) { var cmd = this; var selected = cmd.get_editor().getSelectedElement(); if (isTableSelected(selected) && fragments.length) { var table = utils.isTag(selected, "table") ? selected : utils.getElementParentByTag(selected, "TABLE"); var $table = $telerik.$(table); var data = $table.find("th,td"); var firstCell = data.first().get(0); var lastCell = data.last().get(0); var firstFragment = fragments[0]; var lastFragment = fragments[fragments.length - 1]; var firstSelected = firstFragment.nodes[0]; var lastSelected = lastFragment.nodes[lastFragment.nodes.length - 1]; if ((firstSelected == firstCell || firstSelected == firstCell.firstChild || cmd.isMarker(firstCell.firstChild)) && (lastSelected == lastCell || lastSelected == lastCell.lastChild)) { $table.find("." + cmd.getMarkersCssClass()).insertBefore(table); $telerik.$(table).remove(); return; } } formatFragments.call(cmd, fragments); }; // Fix for select and delete a table by the DomInspector in Chrome var Modules = $T.Editor.Modules; if (Modules && Modules.RadEditorDomInspector) { var removeSelectedElement = Modules.RadEditorDomInspector.prototype.removeSelectedElement; Modules.RadEditorDomInspector.prototype.removeSelectedElement = function (element) { if (isTableSelected(element)) { element = utils.isTag(element, "table") ? element : utils.getElementParentByTag(element, "TABLE"); } removeSelectedElement.call(this, element); }; } })(); </script>
at $IE.Print.dispose (<anonymous>:90:18)
Workaround:
Enable the external dialogs of the Editor/ImageEditor and modify dispose() function of the Print.ascx dialog:
Print.ascx
dispose: function ()
{
this._attachHandlers(false);
this._printBtn.dispose();
this._cancelBtn.dispose();
$IE.Print.callBaseMethod(this, "dispose");
},