Peter Filipov
Team Member

IMPROVE RadAsyncUpload set only remove button instead of cancel and remove buttons when manual upload is used

Feedback by Peter Filipov Status: Approved Comments: 1 Category: RadAsyncUpload Scheduled for: Not Scheduled Last update: 2018-06-20T13:09:42 by Buzz Weetman
0
Rumen Jekov
Team Member

RadNumericTextBox allows insertion of letters under mobile

The temporal solution is to change the type attribute of the RadNumericTextBox input to "tel". This can be done in the OnLoad client event of the control:


<script>
function OnLoad(sender, args) {
sender.get_element().setAttribute("type", "tel");
}
</script>
<telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="RadNumericTextBox1" Width="190px" Value="1" EmptyMessage="Enter units count" MinValue="0" ShowSpinButtons="true" NumberFormat-DecimalDigits="0">
<ClientEvents OnLoad="OnLoad" />
</telerik:RadNumericTextBox><br />
Feedback by Rumen Jekov Status: Approved Comments: 0 Category: RadInput Scheduled for: Not Scheduled Last update: 2018-06-19T16:08:09 by Rumen Jekov
0
Marin Bratanov
Team Member

In IE, after deleting a row with the context menu, typing puts content in the <tr> which results in invalid HTML

You can get the same behavior that all other browsers get - focus being after the table. This is done easily by clearing out the following function logic (make sure the script is after the script manager):

<script>
Telerik.Web.UI.Editor.TableDeleteRow.prototype.selectAnotherRow = function () { }
</script>

You can also try the following version of the function that attempts to fix the selection collapse after the DOM changed:

<script>
Telerik.Web.UI.Editor.TableDeleteRow.prototype.selectAnotherRow = function (layoutBuilderEngine) {
if ($telerik.isIE9Mode) {
var arStateIndexes = layoutBuilderEngine._getLeftTopStateIndexes(layoutBuilderEngine._selectedRowIndex, layoutBuilderEngine._selectedCell.cellIndex);
var stateRow = arStateIndexes["rowIndex"];
var nextCell = layoutBuilderEngine._getSelectedTableCellByStateIndexes(stateRow + 1, 0);
var prevCell = layoutBuilderEngine._getSelectedTableCellByStateIndexes(stateRow - 1, 0);
var newSelectedCell = nextCell || prevCell;
if (newSelectedCell) {
var editorSelection = this.get_editor().getSelection();
setTimeout(function () {
try {//the DOM change is likely to cause errors after the fixes, hence the try-catch, the timeout is to let the DOM get changed before tampering with the selection
if ($telerik.$(newSelectedCell).is(':visible')) {//for deleting footer cells
editorSelection.selectElement(newSelectedCell);
editorSelection.moveToElementText(newSelectedCell);//to properly move focus
editorSelection.collapse(true);
}
}
catch (ex) { }
});
}
}
}
</script>


Considering the drawbacks of fixing IE code that is also inconsistent with other browsers, it is possible that the final fix will be to remove the function and have the same behavior as in other browsers.
Bug Report by Marin Bratanov Status: Approved Comments: 0 Category: RadEditor Scheduled for: Not Scheduled Last update: 2018-06-18T11:10:49 by Marin Bratanov
0
Calvin Williams

Strip Span Element After Paste Doesn't Apply

Hello,

There seems to be an issue with the "Strip Span Elements" tool when pasting content into the editor in Design mode.

I have made a screencast demonstrating the issue available here: https://www.screencast.com/t/1OZ1huYPde8H

Reproduce:

Open a RadEditor demo that has the "Strip Span Elements" option like the Overview(https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx) or the Right Editor in this demo(https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx).

In a word document create text that when pasted into the editor has spans, for example changing the background color or the text color.

Copy the text from the document into the "Design" mode of the editor.
Select the text you would like to strip span's from (I used all of the text in the screencast example).

Use the "Strip Span Elements" button.

Switch the editor mode to HTML(The spans are not stripped).

Switch back to design mode.

Select the text you would like to remove spans from again.

Use the "Strip Span Elements" button. The spans are now stripped.



Expected result: Strip Span Elements option removes <span> tags from html directly after pasting into design mode.

Actual result: Strip Span Elements option does not remove <span> tags on pasted text in the design mode until you navigate to HTML mode then back to design mode.

Any help and suggestions are appreciated.

Thanks,

Calvin Williams
Bug Report by Calvin Williams Status: New Comments: 0 Category: RadEditor Scheduled for: Not Scheduled Last update: 2018-06-15T18:57:42 by Calvin Williams
0
Peter Milchev

Getting WebResource.axd not found error (404) when searching for Windows7.sprite.grid.png

Workaround: Use the following styles

html .RadGrid_Windows7 .rgSave,
html .RadGrid_Windows7 .rgAdd,
html .RadGrid_Windows7 .rgRefresh,
html .RadGrid_Windows7 .rgEdit,
html .RadGrid_Windows7 .rgDel,
html .RadGrid_Windows7 .rgFilter,
html .RadGrid_Windows7 .rgPagePrev,
html .RadGrid_Windows7 .rgPageNext,
html .RadGrid_Windows7 .rgPageFirst,
html .RadGrid_Windows7 .rgPageLast,
html .RadGrid_Windows7 .rgExpand,
html .RadGrid_Windows7 .rgCollapse,
html .RadGrid_Windows7 .rgSortAsc,
html .RadGrid_Windows7 .rgSortDesc,
html .RadGrid_Windows7 .rgUpdate,
html .RadGrid_Windows7 .rgCancel,
html .RadGrid_Windows7 .rgUngroup,
html .RadGrid_Windows7 .rgExpXLS,
html .RadGrid_Windows7 .rgExpDOC,
html .RadGrid_Windows7 .rgExpPDF,
html .RadGrid_Windows7 .rgExpCSV {
background-image: none;
}

html .RadGrid_Windows7 th.rgSorted {
background-image: none;
}

html .RadGrid_Windows7 .rgMasterTable .rgSelectedCell,
html .RadGrid_Windows7 .rgSelectedRow {
background-image: none;
}

html .RadGrid_Windows7 .rgMasterTable .rgActiveCell,
html .RadGrid_Windows7 .rgActiveRow,
html .RadGrid_Windows7 .rgHoveredRow {

background-image: none;
}

html .RadGrid_Windows7 .rgEditRow {
background-image: none;
}

html .RadGrid_Windows7 .rgPager {
background-image: none;
}

html .RadGrid_Windows7 .rgPager .rgPagerButton {
background-image: none;
}

html .RadGrid_Windows7 .rgNumPart a:hover,
html .RadGrid_Windows7 .rgNumPart a.rgCurrentPage {
background-image: none;
}

html .RadGrid_Windows7 .rgNumPart a:hover span,
html .RadGrid_Windows7 .rgNumPart a.rgCurrentPage span {
background-image: none;
}

html .GridReorderTop_Windows7 {
background-image: none;
}

html .GridReorderBottom_Windows7 {
background-image: none;
}

html .RadGrid_Windows7 .rgGroupPanel {
background-image: none;
}

html .RadGrid_Windows7 .rgGroupItem {
background-image: none;
}

html .RadGrid_Windows7 .rgGroupHeader {
background-image: none;
}

html .RadGrid_Windows7 .rgCommandRow {
background-image: none;
}
Bug Report by Peter Milchev Status: Completed Comments: 0 Attachments: 1 Category: None Scheduled for: R2 2018 SP1 Last update: 2018-06-14T11:21:42 by Rumen Jekov
0
Veselina Raykova
Team Member

Window's size is decreased on every opening

Each time a window is re-opened its size is decreased with several pixels.

video: https://www.screencast.com/t/kxVyE0U2

Steps to reproduce:
1. Open http://demos.telerik.com/aspnet-ajax/window/examples/modalpopup/defaultcs.aspx
2. Close and re-open RadWindow multiple times

Result: The window's height is decreased each time.

Recommended Workaround: Apply the following CSS class to the page with RadWindow (*** Updated on 22 Jan 2018 ***)

<style>
.RadWindow {
padding: 0 6px 6px !important;
}
</style>


Optional Workaround: Manually resize the Window at the stage of opening it. This example is re-using the width and height set in the markup.

JavaScript
<script>
function openFixedSize(sender, args) {
var oWindow = radopen("WindowContent.aspx", "RadWindow1");
oWindow.__oWidth = oWindow.__oWidth ? oWindow.__oWidth : oWindow.get_width();
oWindow.__oHeight = oWindow.__oHeight ? oWindow.__oHeight : oWindow.get_height();
oWindow.setSize(oWindow.__oWidth, oWindow.__oHeight);
}
</script>

Markup
<telerik:RadButton ID="RadButton1" runat="server" Text="Open - Custom" AutoPostBack="false" OnClientClicked="openFixedSize"></telerik:RadButton>

<telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server">
<Windows>
<telerik:RadWindow RenderMode="Lightweight" ID="RadWindow1" runat="server" Title="" Height="500px"
Width="500px" Left="1px" Top="1px" ReloadOnShow="true" ShowContentDuringLoad="false" Behaviors="None"
Modal="true" ShowOnTopWhenMaximized="True" VisibleStatusbar="False" VisibleTitlebar="false">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
Bug Report by Veselina Raykova Status: In Development Comments: 1 Category: RadWindow Scheduled for: R2 2018 SP1 Last update: 2018-06-14T11:20:29 by Rumen Jekov
0
Rumen Jekov
Team Member

Unified printing experience across browsers - a new dialog is always opened whose print command is executed

Due to browser restrictions, the print behavior is changed and works identically to the one of IE - a new tab/dialog with the grid is opened whose print command is launched. You can observe the behavior in IE at https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/printing/defaultcs.aspx.
Feedback by Rumen Jekov Status: Completed Comments: 0 Category: RadGrid Scheduled for: R2 2018 SP1 Last update: 2018-06-14T11:20:21 by Rumen Jekov
0
Peter Milchev

Grid Client printed file does not load in Chrome 60+

Screencast demonstrating the issue and the fixes: https://www.screencast.com/t/hvCSwumhW

Caused by

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM/discussion%5B1-25%5D
https://stackoverflow.com/a/45495974
https://stackoverflow.com/a/45746963

Workaround attached
Bug Report by Peter Milchev Status: In Development Comments: 0 Attachments: 1 Category: RadGrid Scheduled for: R2 2018 SP1 Last update: 2018-06-14T11:20:09 by Rumen Jekov
0
Veselina Raykova
Team Member

RadRotator stops working after Ctrl+F5 refresh if the ItemWidth is not set

RadRotator stops working after Ctrl+F5 refresh if the ItemWidth is not set in Firefox. After the refresh RadRotator looses its item width calculation and show only the first item, the others and rendered on the next row.

Video: https://www.screencast.com/t/hqYDQrPsemK

1. Run the code below in Firefox
2. Press Ctrl + F5

Result: The rotator does not rotate the items anymore

<telerik:RadRotator ID="RadRotatorLogosTelerik" RotatorType="AutomaticAdvance" Skin="Metro" RenderMode="Lightweight" Visible="true" runat="server" EnableRandomOrder="false"
Height="180px" Width="980px"
ItemHeight="80px">
<Items>
<telerik:RadRotatorItem>
<ItemTemplate>
<div id="imgitemTemplate">
<asp:Image ID="Image1" runat="server" AlternateText="becken" ImageUrl="https://placeimg.com/980/80/tech" />
</div>
</ItemTemplate>
</telerik:RadRotatorItem>
<telerik:RadRotatorItem>
<ItemTemplate>
<div id="imgitemTemplate">
<asp:Image ID="Image2" runat="server" AlternateText="goodis" ImageUrl="https://placeimg.com/980/80/animals" />
</div>
</ItemTemplate>
</telerik:RadRotatorItem>
<telerik:RadRotatorItem>
<ItemTemplate>
<div id="imgitemTemplate">
<asp:Image ID="Image3" runat="server" AlternateText="kubo" ImageUrl="https://placeimg.com/980/80/arch" />
</div>
</ItemTemplate>
</telerik:RadRotatorItem>
</Items>
</telerik:RadRotator>
Bug Report by Veselina Raykova Status: Won't fix Comments: 1 Category: RadRotator Scheduled for: Not Scheduled Last update: 2018-06-14T09:38:03 by Marin Bratanov
0
Rumen Jekov
Team Member

Error is thrown when deleting in an empty editor

Steps to reproduce:
1. Go to the Editor demo page in Chrome
2. CTRL+A on the editor and hit delete
3. Hit Delete or Backspace again
Result: Uncaught TypeError Appears in the console
Bug Report by Rumen Jekov Status: Approved Comments: 0 Category: RadEditor Scheduled for: Not Scheduled Last update: 2018-06-12T07:40:29 by Marin Bratanov
0
Displaying items 1 - 10 of 4578