
Hello,
I want row selection when Shift + Up or Down arrow key is press in RadGrid but not working in IE 11 specifically. My Telerik dll is 2011.1.519.35.
My Code is as follows
<telerik:RadGrid ID="dgHistory" runat="server" AutoGenerateColumns="false" onkeydown="CheckShiftKey(this,event)"
AllowSorting="false" AllowMultiRowSelection="True" GridLines="None" Height="0px">
<PagerStyle AlwaysVisible="false" />
<SelectedItemStyle CssClass="ToothChartSelected" />
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<AlternatingItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<MasterTableView DataKeyNames="ChartHistoryID">
<HeaderStyle CssClass="ChartingRadGridColumnHeader" />
<ItemStyle CssClass="ChartingRadGridRow" VerticalAlign="Top" />
<Columns>
<telerik:GridBoundColumn DataField="RType" HeaderText="Type" Display="false"
UniqueName="RecordType" HeaderStyle-Width="80px">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="RID" HeaderText="ID" Display="false" UniqueName="RecordID"
HeaderStyle-Width="50px">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ID" HeaderText="OID" Display="false" UniqueName="OID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="DDate" HeaderText="Date" UniqueName="DisplayDate"
HeaderStyle-Width="55px" DataFormatString="{0:MM/dd/yy}">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true" EnableAlternatingItems="false" AllowKeyboardNavigation="true">
<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
<Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" EnableRealTimeResize="true" />
<ClientEvents OnRowDataBound="function(s,e){ RowDataBound(s,e);}" OnKeyPress="CheckShiftKey"
OnRowContextMenu="OnContextMenu" OnRowClick="OnLeftClick" OnGridCreated="function(s,e){ BindGridHotkeys(s,e); SetHistoryGridHeight(s, e); tc$.historyGridCo=s;}"
OnRowSelected="RowSelected" OnRowDblClick="onrowdblclick" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
</Scrolling>
</ClientSettings>
</telerik:RadGrid>
and client side script is
function CheckShiftKey(sender, args) {
var keyCode = args.get_keyCode();
if (args.get_isShiftPressed()) {
if (keyCode == 38 || keyCode == 40) {
if (sender._activeRow != null) {
var nextRow = sender._getNextActiveRow(sender._activeRow, keyCode);
if (!nextRow) return;
var nextItem = $find(nextRow.id);
var currentItem = $find(sender._activeRow.id);
if (nextItem.get_selected()) {
currentItem.set_selected(false);
}
}
}
}
}
Thanks,
Prajwal Thakur
Hi everyone,
We're in the market for a new tool for creating online help/documentation for our web application. Anybody have any suggestions?
Thanks,
Tom
I am encountering an issue when combining RadMenu with LightWeight Rendering on a page with a RadGrid using Classic Rendering. Enabling Filtering on the Grid causes the submenu items on the RadMenu to appear incorrectly.
I am using 2015.3.930.40
If I render both controls with LightWeight rendering or render both controls with Classic rendering everything appears correctly. It only appears incorrectly when Filtering is enabled on the grid.
I am attempting to create a stacked bar chart based on a SQL data source.
The first attachment (before) shows the basic chart, with the values also show on the left for reference. (in a RadGrid)
I then add the second series to the chart definition and get what you see in the second attachment (after)
Note that the scale has changed significantly and it no longer matches the range of values. In this case "future shows" is a fixed value of 5, so the maximum series value for year 2010 would be 33 (28 + 5). As you can see, the scale numbers have no relation to the actual stacked values.
Also note in the code to follow, the two series are presented in the wrong order. For the year 2010, available shows = 28 and future shows = 5 (per the data source) But what is presented on the chart is a short blue bar and a taller green bar (value 28) is exactly the opposite of what the legend indicates.
<telerik:RadHtmlChart runat="server" ID="Year_Chart" DataSourceID="Year_Summary_Data" Width="452px" Height="400px" OnClientSeriesClicked="OnYearSeriesClick" Skin="BlackMetroTouch"> <ChartTitle Text="Shows by Year"> <Appearance Visible="True"></Appearance> </ChartTitle> <Legend> <Appearance Position="Bottom" Visible="True"></Appearance> </Legend> <PlotArea> <CommonTooltipsAppearance Shared="true" Visible="false"> <SharedTemplate> <div>#= year #</div> </SharedTemplate> </CommonTooltipsAppearance> <XAxis DataLabelsField="year"> <TitleAppearance Text="Year" Visible="false"></TitleAppearance> <LabelsAppearance RotationAngle="75" /> <MajorGridLines Visible="false"></MajorGridLines> <MinorGridLines Visible="false"></MinorGridLines> </XAxis> <YAxis> <MajorGridLines Visible="true" Color="#ffc5bf" Width="1"></MajorGridLines> <MinorGridLines Visible="false"></MinorGridLines> </YAxis> <Series> <telerik:ColumnSeries Stacked="True" Name="Available Shows" DataFieldY="shows"> <LabelsAppearance Visible="True"></LabelsAppearance> </telerik:ColumnSeries> <telerik:ColumnSeries Stacked="True" Name="Future Shows" DataFieldY="future"> <LabelsAppearance Visible="False"></LabelsAppearance> </telerik:ColumnSeries> </Series> </PlotArea></telerik:RadHtmlChart>I get a failure from OnClientFileUploadFailed when I allow zip files, and MaxFileSize is set. If I remove MaxFileSize zip files upload correctly, but I would like to have both. Is there a workaround for this?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mu.aspx.cs" Inherits="CODAUploads.mu" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%: Page.Title %></title> <link rel="stylesheet" href="~/content/bootstrap.css"/> </head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager runat="server" ID="rsm"></telerik:RadScriptManager><asp:Panel ID="pnlUpload" runat="server"> <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientFileUploaded="OnClientFileUploaded" OnClientFileUploadFailed="badfiletype" OnClientValidationFailed="badfiletype" AllowedFileExtensions="zip,xlsx,xls,pdf,doc,docx" MaxFileSize="2048576" OnFileUploaded="AsyncUpload1_FileUploaded" Skin="Bootstrap" UploadedFilesRendering="BelowFileInput"> </telerik:RadAsyncUpload> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> var uploadedFilesCount = 0; var isEditMode; function validateRadUpload(source, e) { if (isEditMode == null || isEditMode == undefined) { e.IsValid = false; if (uploadedFilesCount > 0) { e.IsValid = true; } } isEditMode = null; } function badfiletype(sender, eventArgs) { alert("This file type is not accepted"); } function OnClientFileUploaded(sender, eventArgs) { uploadedFilesCount++; } </script> </telerik:RadCodeBlock> <span class="allowed-attachments">Select files to upload (<%= String.Join( ",", AsyncUpload1.AllowedFileExtensions ) %>) </span> <label>Attached files:</label> <asp:Repeater runat="server" ID="AttachmentRepeater" EnableViewState="false"> <ItemTemplate> <span class="attachment icon-<%#Eval("FileExtension")%>"> <%# Eval("FileName") %> (<%# Eval("ContentLength") %>kb); </span> </ItemTemplate> </asp:Repeater></asp:Panel> </div> </form></body></html>Hi,
I have been using Edge as my primary browser since Windows 10 launched and testing my web application with it.
There is a particularly annoying issue with filtered dropdownlists where when you click in the text box to filter Edge brings up it's own autocomplete list of things that you have previously typed into textboxes. The problem is that this sits on top of the tree control and you cannot see it let alone use it.
Pushing escape to get rid of the autocomplete closes the dropdown tree also.
Take a look at the attached screenshot that I took when attempting to access your demo site
http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/overview/defaultcs.aspx
Are you aware of this issue and do you have a fix in the works?
Cheers,
Matt

We have just started with a trial of Telerik tools for a new drag and drop playlist we will be implementing into our solution. We are tracking the movement and sorting of each item by its value, parent value and id and we will be tracking any changes in an array and then on save we will be using those references to build new playlists.
The issue we are running into is getting the current index of the node when dropped on client side. We have used the OnClientNodeDropping but it doesnt seem to return the id of the item after it is dropped. Is there a different way we should be going about getting this?
