If an editor is placed in a Window the page will just spin on startup. Any other WindowContent I have tried works fine, it stops as soon as I add the Editor.
Is there a different way to do this or is this a bug?
<
TelerikWindow
Class
=
"demo-window"
Width
=
"700px"
Centered
=
"true"
Visible
=
"true"
Modal
=
"false"
@
ref
=
"EditWindow"
>
<
WindowTitle
>
<
strong
>Edit</
strong
>
</
WindowTitle
>
<
WindowActions
>
<
WindowAction
Name
=
"Close"
/>
</
WindowActions
>
<
WindowContent
>
<
TelerikEditor
@
bind-Value
=
"@Value"
Height
=
"880px"
>
</
TelerikEditor
>
</
WindowContent
>
</
TelerikWindow
>
Hi,
Is there a way to keep the UI culture info when exporting a grid to Excel?
I have a date field which is displayed in the browser as dd/MM/yyyy which is how I want it. But when exported to Excel it becomes MM/dd/yyyy.
I set the UI culture in the blazor Program.Main.
var culture = new CultureInfo("en-GB");
CultureInfo.DefaultThreadCurrentCulture = culture;
CultureInfo.DefaultThreadCurrentUICulture = culture;
System.Threading.Thread.CurrentThread.CurrentCulture = culture;
System.Threading.Thread.CurrentThread.CurrentUICulture = culture;
I am using the WebAssembly version of Blazor.
Thanks,
Tom
Hello,
Two quick questions:
1) Is it possible to use the control just for rendering HTML?
Assuming that I want to use the control to enter and edit HTML and later just render it on a web page.
Or should I just use the Blazor MarkupString for that?
2) Does the control provide some support for sanitising the HTML entered? Or do I need to analyse it to look for malware?
regards
Environment: VS 2019 w/ all latest updates.
Installed Telerik UI For Blazor through Progress Control Panel.
Attempting to create new Telerik Blazor solution, or add new Telerik Blazor project to existing solution, yields the following error:
NU1101 Unable to find package Telerik.UI.for.Blazor. No packages exist with this id in source(s): Local Packages, Microsoft Visual Studio Offline Packages, nuget.org
Restarted VS as well as machine, same error.
Instructions on how to resolve would be appreciated.
I can successfully trigger the OnUpdate event from a simple GridColumn Field update with Incell editing but not when using an EditorTemplate. Any ideas what I'm doing wrong or missing?
<
TelerikGrid
Data=@ItemsOC
EditMode
=
"@GridEditMode.Incell"
OnUpdate
=
"@UpdateHandler"
>
<
GridColumns
>
<!-- This column DOES NOT trigger OnUpdate when edited. -->
<
GridColumn
Field
=
"Quantity"
Title
=
"EDIT Quantity"
>
<
EditorTemplate
>
@{
ItemToEdit = context as Item;
<
TelerikNumericTextBox
@
bind-Value
=
"@ItemToEdit.Quantity"
Format
=
"F2"
/>
}
</
EditorTemplate
>
</
GridColumn
>
<!-- This column DOES trigger OnUpdate when edited. -->
<
GridColumn
Field
=
"Quantity"
/>
<
GridColumn
Field
=
"Description"
/>
<
GridColumn
Field
=
"Cost"
/>
<
GridColumn
Field
=
"SubTotal"
/>
</
GridColumns
>
</
TelerikGrid
>
Doug
Looking at your online documentation for upgrading a project to the latest version with nuget, I must be missing something... it only shows to run the update command. When I run it (NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget"...), then I go into our projects, the nuget manager shows that 2.14.1 is latest stable. Actually it shows as the only version option.
How do we get the nuget manager to offer the latest release (2.16 at this time)?
I'm working on porting a UWP app to .Net core, and I can't find how to set the chart area color:
In the UWP, I have the graph sitting in a grid, and my code is
var tempBrush = new SolidColorBrush(GetBackgroundColor(_theData[0].ModuleType));
theGrid.Background = tempBrush;
dataGraph.Background = tempBrush;
I'd assume the Graph has the ability to set a style, but nope.
The samples don't seem to show how to set a lot of things like MajorStep, MinorStep, label rotation etc for a TimeAxis - and I can't find a good reference for what is available. (The API docs have almost no examples.)