We have a few custom tools added into the editor that we've decided need to be enabled while in preview mode.
Using the steps here, we've had that working for a while now. Recently though we updated to version 2018.2.516.45, and while the buttons still enable they no longer function while in preview mode. They work fine in both other modes, and they're not disabled (at least their state is set to 0).
We're setting a timeout to make the tools available after the page finishes initializing:
function OnClientModeChange(sender, args) { setTimeout(function () { MakeToolsAvailable(sender) }, 500);};
And in the timeout we set the state of each of the tools to 0:
function MakeToolsAvailable(sender) { var editor = sender; editor.getToolByName('example').setState(0); // etc}
Both of these are working fine as evidenced by the buttons looking available and the sanity check test I ran by putting console.logs in them. This last bit is the part that breaks.
Telerik.Web.UI.Editor.CommandList["example"] = function (commandName, editor, args) { // Everything here runs fine in design mode, but not in preview mode};

Hi Telerik,
I want to know if is it possible to change the cursor when the mouse is over a RadIconTile object ?
I tried to apply a CSS style, but the modification is not considered.
Thank you.
GridCalculatedColumn has a Property called "Expression", what could it contain?
These are valid:
iif(condition, trueResult, falseResult)
{0}*{1}
Convert.ToString({0})
How to format the result of the expression?
e.g. this doesn't work:
iif(condition, String.Format"{0:0.00}%", {0}), "NA")
This Expression doesn't seem to be the same as the .NET Data Column Expression either as I tested it and at least the Len and Convert methods are not supported.
Please help.
Thanks,
Hi,
I have a Hierarchy Binding raggrid with details table , I would like to change the header text and width from code. I was able to do that on mastertableview but not able to reach the details table.
For Each col As GridBoundColumn In rgTestGrid.MasterTableView.AutoGeneratedColumnscol.HeaderStyle.Width = Unit.Pixel(65)NextIs there any way to change the column header with of details table like this?
Thanks in advance
regards

Telerik UI for ASP.NET AJAX R2 2018. When I use the AntiXssEncoder as the default encoder...
web.config
<httpRuntime encoderType="Microsoft.Security.Application.AntiXssEncoder, AntiXssLibrary" maxRequestLength="102400"/>
A mistake as a figure
In the parent page, it had a preview button to prompt a radwindow.
How can I refresh the grid in parent page when user click the Close [X] button of the radwindow.
The radwindow generate in code behind:
Protected Sub rtbMenu_ButtonClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadToolBarEventArgs) Handles rtbMenu.ButtonClick If e.Item.Value = "Preview" Then Dim url = "~/TrainingAdmin/SIMPER_view.aspx?SIMPER_ID=0&UserID=" & Request.QueryString("UserID") & "&From=" & RadDatePicker_ValidFrom.SelectedDate & "&To=" & RadDatePicker_ValidTill.SelectedDate Dim windowManager As New RadWindowManager() Dim window1 As New RadWindow() ' Set the window properties window1.NavigateUrl = url window1.ID = "RadWindow1" window1.Height = 750 window1.Width = 740 window1.Top = 140 window1.Left = 250 window1.AutoSize = False window1.VisibleTitlebar = True window1.VisibleStatusbar = False window1.VisibleOnPageLoad = True ' Set this property to True for showing window from code windowManager.Windows.Add(window1) Me.Form.Controls.Add(window1) ElseIf e.Item.Value = "Refresh" Then Response.Redirect("~/TrainingAdmin/SIMPER_details.aspx?userID=" & Request.QueryString("UserID")) End IfEnd SubDear All,
i need to show a bar graph.
First x-axis - Month like January, February etc. .
Second X axis- every month i need to show two countries like USA, UK
Y Axis- Total Amount.
Per country, month expense is Y1 and forecast amount is Y2.
if i can combine Bar chart with bullet charge will achieve my goal. or if Bar chart can show "Target" also will be ok. appreciate your help.
i attached a demo graph for your reference.
Hi,
I have a aspx content page which is using a master page. In my content page I have two RadMultiPage controls and a RadTabStrip control. One RadMultiPage is assigned to RadTabStrip through the MultiPageID property. The second RadMultiPage has by default set the SelectedIndex to 1. What i try to do, is to change the second RadMultiPage selected index on RadTabStrip OnClientTabSelected event. Looking at the samples and the documentation i came up with something like that:
function clientTabSelected(sender, args) { var multipage = document.getElementById('<%= ribbonMultiPage.ClientID %>'); var v = multipage.findPageViewByID("accountsView"); if (v) alert('got it'); else alert('null.'); }where ribbonMultiPage is the id of the second RadMultiPage. When i run the code i got the exception "Object doesn't support this property or method" on line var v = multipage.findPageViewByID("accountsView");. Could you point me a solution to that?
Hello,
I am having a problem with keyboard navigation when using tab indexes with MasterPages and their ContentPages.
The problem is I would like to leave the default TabIndex of "0" across all elements on the MasterPages and their associated ContentPages so that when tabbing from the keyboard the focus goes from the last element on the MasterPage to the first element on the ContentPage. Is this possible?
Of course, I can manually set the TabIndexes across all controls and that works, but would rather leave the elements' TabIndexes at "0".
Thanks,
Phil