I have a grid set up to allow multi-selection and I use a GridCheckboxColumn for row selection. What I'm finding is that you can check multiple checkboxes to select multiple rows, however if you click on a row in a different column it unchecks all selected rows and selects only the row you clicked on. I can kind of understand that behavior as it's a scenario where you can also use ctrl+click to select multiples, and in that case if you click a row without holding down ctrl then you would expect other selected rows to be deselected. I can live with that.
The problem I'm having though is that let's say you're going through and using the checkboxes to select numerous rows. If you just barely miss the checkbox on your click, but your click is still inside the checkbox column, all your selected rows become deselected.
Is there a way to disable the ctrl+click behavior at least in the checkbox column so missing the checkbox won't cause you to lose all your selections? Or disable that for the whole grid and allow selection with just a click, not requiring ctrl? Or maybe some other solution?
Thanks.
We are trying out the Telerik controls and in my scenario I want the width of the AutoComplete input box to be, say 80% of the page.
Now I saw in browser Debug view that there seems to be a hardcoded width of 300px in the elements style? Is that correct?
How can I change that?
Once you have more than about 4-5 categories in your legend, the legend starts reusing colors. Is there some way to provide the legend with more colors than that so you don't sometimes have 2-3 categories with the same color.
Also, if you pass in data and use the FieldCategory, I take it does not group by the category value and creates duplicate keys with different colors, further complicating the first issue above.
Plus, making the 2 issues above even worse, even if the results in the chart do not have values (and are not visible) the legend still generates keys that are not present in the results?
See attachment shows all 3 things in action at once.
I think I could make this mostly (beside the reused colors) better by creating a helper to group/merge by category into a smaller dataset and then create subsets of that filtered where No>0.
Having to do that in a larger dashboard scenario adds a ton of plumbing for what I would assume should be groupable based on configuration settings with a shared data collection used by many charts on the same view.
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)?