I'm trying to save the CompositeFilterDescriptor.
If I do the following:
var serializedFilter = JsonSerializer.Serialize(FilterValue);
var deserializedFilter = JsonSerializer.Deserialize<CompositeFilterDescriptor>(serializedFilter);
The deserializedFilter FilterDescriptor.MemberType is null and if used causes the the display of the filters to throw an exception.
Note that the filters are part of a user preferences class that is serialized as a whole. So is there a proper way to serialize/deserialize?

In a horizontal tab strip I would like align a single tab to the right of the tab strip. Is this possible?

When user resizes a TileLayoutItem in a TileLayout, I am trying to detect the new RowSpan and ColSpan values using the OnResize Event.
However, it appears as if the RowSpan and ColSpan values don't update?
Simple Example, resize a tiled item and look at the console output (it never changes regardless of the new user-set spans):
@using Telerik.Blazor.Components
<TelerikTileLayout Reorderable="true" Resizable="true" Columns="4" ColumnWidth="200px" RowHeight="200px"
OnResize="@OnResize">
<TileLayoutItems>
<TileLayoutItem @ref="@_tileItem1" Id="tile1" HeaderText="Tile 1" ColSpan="1" RowSpan="1">
<Content>Tile 1</Content>
</TileLayoutItem>
<TileLayoutItem @ref="@_tileItem2" Id="tile2" HeaderText="Tile 2" ColSpan="1" RowSpan="1">
<Content>Tile 2</Content>
</TileLayoutItem>
</TileLayoutItems>
</TelerikTileLayout>
@code {
private TileLayoutItem _tileItem1 = null;
private TileLayoutItem _tileItem2 = null;
private void OnResize(TileLayoutResizeEventArgs args)
{
if (args.Id == "tile1") { Console.WriteLine($"rows: {_tileItem1.RowSpan}, cols:{_tileItem1.ColSpan}"); }
else if (args.Id == "tile2") { Console.WriteLine($"rows: {_tileItem2.RowSpan}, cols:{_tileItem2.ColSpan}"); }
}
}
When I try to set 'RefTextBox.Value = value' I get a warning:
How is the Value of a TextBox supposed to be set programmatically without binding it to a variable?
Hello I am trying to generate Dynamic columns for Telerik Grid it is generating multiple times columns set I want to avoid this please check bellow screen short.
Here is the my code.
<TelerikGrid Data="@SearchConfigs" Resizable="true" Reorderable="true" Groupable="false">
<GridColumns>
@foreach (SearchConfig row in SearchConfigs)
{
@foreach (var property in (IDictionary<string, string>)row.SearchFields)
{
<GridColumn Title="@property.Key">
<Template>
@property.Value
</Template>
</GridColumn>
}
}
</GridColumns>
</TelerikGrid>public List<SearchConfig> SearchConfigs { get; set; } = new List<SearchConfig>();
IDictionary<string, string> keyValuePairs = new Dictionary<string, string>
{
{ "Col1", "Value1" },
{ "Col2", "Value2" },
{ "Col3", "Value3" },
{ "Col4", "Value4" },
{ "Col5", "Value5" },
{ "Col6", "Value6" },
{ "Col7", "Value7" },
{ "Col8", "Value8" },
};
SearchConfigs.Add(new SearchConfig { SearchFields = keyValuePairs });
SearchConfigs.Add(new SearchConfig { SearchFields = keyValuePairs });
SearchConfigs.Add(new SearchConfig { SearchFields = keyValuePairs });Could you please help me figure out what is going wrong here?
Thank you
Hi
I want to bind a grid to a source source. But the data source varies each time.
1. Can you automatically generate the columns when binding?
2. Can you programatically create a grid ?
thx in advance
Hello,
I have some questions regarding the different TelerikCharts.
1. Is there a way to enable drag on a series, to change the value?
I have attached some example code, on how I could like it to work.
2. Is there a way to disable series click when right clicking?
I still would like to use series click, but only on leftclick.
3. Is there a way to open a context menu on a series, when right clicking?
Regards,
Nikolas
