Hello,
RadDateRangePicker is not working for me. The buttons do not display and of course no pop calendar as well.
Other pickers work fine. Any idea what I am missing here
Thanks
Gil
Please see the attached picture. I have a Grid with multi column headers. How do I access header cells where red arrows and green arrow are pointing at respectively?
Accessing header cells is happening in RadGrid1_OnPreRender().
BTW, how to visually indicate filtering for grid with multi column header ? I tried this code in: https://docs.telerik.com/devtools/aspnet-ajax/knowledge-base/grid-visually-indicate-filtered-columns-in-excel-like-filtering
It works fine with common grid, but for grid with multi colum headers, it has bugs and cannot show properly.
Thank you!
I love the RadSpreadsheet control. It works great having the toolbar to open files, save files etc.
But I want to run some code on a button press on the page that does some specific validation, then
taking each row and import into a database.
So I use this control to open xls files for user to view, make changes etc.
I then run some custom code that checks (Rows / Columns data) for custom rules
Then I want to take the end result and import that into a database.
Should I be using a Grid Control to do this as it seems impossible to get the worksheet from the RadSpreadSheet control when we use the open toolbar.
I would like to make long text wrap when using checkboxes. As per the attached image, I would prefer the left margin of the text to align with the green line.
I have attempted to use the sample shown in this article (https://www.telerik.com/forums/long-text-in-radlistbox) but nothing worked.
Could you please advise the best way to make this change?
I'm using the following code to create multi-level context menus in a RadEditor control, but I can't get the Text property of the tool to display instead of the Name property.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadEditorForm.aspx.cs" Inherits="RadEditorForm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<script type="text/javascript">
//Put your JavaScript code here.
</script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
<div>
<telerik:RadEditor ID="RadEditor1" runat="server" ToolsFile="RadEditorForm_ToolsFile.xml">
<ContextMenus>
<telerik:EditorContextMenu TagName="P">
<telerik:EditorTool Name="JustifyLeft"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyCenter"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyRight"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyFull"></telerik:EditorTool>
</telerik:EditorContextMenu>
<telerik:EditorContextMenu TagName="BODY">
<telerik:EditorTool Name="JustifyLeft"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyCenter"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyRight"></telerik:EditorTool>
<telerik:EditorTool Name="JustifyFull"></telerik:EditorTool>
</telerik:EditorContextMenu>
</ContextMenus>
</telerik:RadEditor>
</div>
</form>
</body>
</html>
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Web.Security;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Telerik.Web.UI;
public partial class RadEditorForm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
EditorContextMenuTool dataMenu = new EditorContextMenuTool("Data");
dataMenu.Text = "Data X";
System.Text.StringBuilder sb = new System.Text.StringBuilder();
for (int l1 = 0;l1 < 5;l1++)
{
EditorContextMenuTool subDataMenu = new EditorContextMenuTool();
subDataMenu.Name = string.Concat("L",l1,"_Menu");
subDataMenu.Text = string.Concat("Level 1 Menu Item ",l1);
subDataMenu.ShowText = true;
subDataMenu.ShowIcon = false;
for (int l2 = 0; l2 < 5; l2++)
{
EditorTool tool = new EditorTool();
tool.Name = string.Concat("L",l1,"_Menu_",l2);
tool.Text = string.Concat("Level ",l1,"-Menu Item ",l2);
tool.ShowText = true;
tool.ShowIcon = false;
subDataMenu.Tools.Add(tool);
sb.Append("Telerik.Web.UI.Editor.CommandList[\"" + tool.Name + "\"] = function (commandName, editor, oTool) {debugger;editor.pasteHtml(\"<var>" + tool.Text + "</var>\");}");
sb.AppendLine();
}
dataMenu.Tools.Add(subDataMenu);
}
RadEditor1.ContextMenus.FindByTagName("P").Tools.Add(dataMenu);
RadEditor1.ContextMenus.FindByTagName("BODY").Tools.Add(dataMenu);
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "contextMenuHandlerScript", sb.ToString(), true);
}
}
Hello
In the ListView, I need to divide the data into 4 groups (GroupItemCount=4)
and the header of each group should have a column name like the
But no matter how hard I tried, I couldn't set the listview so that the names of the columns in each group are displayed, and the output is like the picture show.png
Help me please
We currently have a telerik datepicker (and timepicker) displayed inside a bootstrap modal, and while it works (mostly) fine, I've discovered that accessibility keyboard controls (enabled via setting EnableAriaSupport and EnableKeyboardNavigation to True) do not work. The controls work fine in context of a datepicker outside of these modals.
Upon further investigation, it seems as though the telerik process is adding a new div to the dom when we open the datepicker calendar, which presumably is firing some low-level bootstrap event or process that I'm unaware of to force focus back to the modal... and in this case away from the datepicker that's appearing over it.
Does anyone know of a way to prioritize keyboard control focus to remain on the added datepicker calendar that appears instead of reverting back to the top of the modal?
Things I've tried include:
It's worth noting that I do not have the option to swap away from the current way we build modals and use a telerik modal at this time.
The datepicker, opened with keyboard controls, as it appears outside
the modal (note the black box around the calendar, denoting that the
control is in-focus of the keyboard and is usable via arrow key
navigation:
The
modal with a datepicker attached to it. The focus is on the invisible
"title" of the modal, which announces to screen readers that there's a
modal open. hitting "tab" here shifts the focus to the "close" button.
Tabbing
down to the datepicker works as intended, and upon hitting "enter" on
the open calendar button, you're presented with this screen:
Notice that the calendar does not have the focused black box around it, as the focus has shifted back to the top of the bootstrap modal. Keyboard controls do not work. Hitting "tab" from here will once again move the focus to the modal's "close" button. There is no way for me to tab into the calendar control.
Is it possible to display a custom text instead of date as in the picture attached? I would like to have a custom text there and date and time in the tooltip when user hovers over this text / point in the timeline.
Hi,
i open a radwindow fro ma button inside a templatecolumn in a detailtable.
In the radwindow i have a radbutton when i click it the OnClick event doesn't fire.
Here the code.
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteT.Master" AutoEventWireup="true" CodeBehind="AnalisiExc.aspx.cs" Inherits="IPadAdmin.AnalisiExc" %>
when uploading file
Uncaught SyntaxError: Unexpected token '<', "
<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at n.parseJSON (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a669ca791-a838-4419-82bc-9fa647338708%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2023.2.714.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a1bc89511-db65-4edd-9b7b-852f5fbc5915%3a16e4e7cd%3af7645509%3a24ee1bba%3a33715776%3a52af31a4%3a5fa37e7e%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a0b6af642-f113-415c-b33c-97e8c63eeb23%3ab14bb7d5%3acecc93f9%3adc2d6e36%3a5acd2e8e%3a13f47f54%3a4cda6429%3a35ff259d%3aefde3e73%3aca84c49e:1587:16647)
at g.callback (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a669ca791-a838-4419-82bc-9fa647338708%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2023.2.714.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a1bc89511-db65-4edd-9b7b-852f5fbc5915%3a16e4e7cd%3af7645509%3a24ee1bba%3a33715776%3a52af31a4%3a5fa37e7e%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a0b6af642-f113-415c-b33c-97e8c63eeb23%3ab14bb7d5%3acecc93f9%3adc2d6e36%3a5acd2e8e%3a13f47f54%3a4cda6429%3a35ff259d%3aefde3e73%3aca84c49e:2838:15)
at XMLHttpRequest.m (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a669ca791-a838-4419-82bc-9fa647338708%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2023.2.714.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a1bc89511-db65-4edd-9b7b-852f5fbc5915%3a16e4e7cd%3af7645509%3a24ee1bba%3a33715776%3a52af31a4%3a5fa37e7e%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a0b6af642-f113-415c-b33c-97e8c63eeb23%3ab14bb7d5%3acecc93f9%3adc2d6e36%3a5acd2e8e%3a13f47f54%3a4cda6429%3a35ff259d%3aefde3e73%3aca84c49e:2950:77)