Hello,
We are using TelericBlazor Grid with Drag and Drop functionality, as per link https://demos.telerik.com/blazor-ui/grid/drag-drop
Now, I am dragging the items from one grid to another Grid., like dragging ITEMA from GRID-A to GRID-B, which is working as expected.
But as a User, I want to change the background color of the dragged ITEMA to Different color.
So Is there any way to change the style of the dragged and dropped row in the Telerik grid?
I have a grid that takes live data (like connection status of an item) from a specific endpoint of a controller. I want to take those live data only for selected items in the grid without changing grid' s columns. I mean that i want to change data source in the grid only for selected items. Is there an example of something like this?
Thank you
Hi,
After submiting the form, On error handling in Catch, the execption is assign to variable error
After render the vairable error is null
Could please help how to assign execption value to variable error after render
Please see below code.
@{
string error { get; set; }
protected override void OnInitialized()
{
try{}
finaly{}
}
async protected override Task OnAfterRenderAsync(bool firstRender)
{
var relativeUri = navigationManager.Uri;
var uri = navigationManager.ToAbsoluteUri(relativeUri);
if (firstRender){}
if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("isSessionTimeout", out var tempTimeout))
{
notification?.ShowError(error);
//error = "Session timed out";
showToast = true;
}
}
async Task OnSubmit()
{
try{
}
catch(exception ex){
error = ex.ToString();
}
}
}
I would like the behavior of the RadioGroup, but have the label and input pairs styled like toggle buttons like https://getbootstrap.com/docs/5.0/components/button-group/#checkbox-and-radio-button-groups
So, I have a TelerikDialog inside a parent component. The dialog title and content have data that may change.
When this data should change, I call StateHasChanged() in the parent, but nothing updates. Stepping through the code shows that the values themselves have changed, but no content changes in the browser.
I noticed that TelerikDialog's have a Refresh method you can call, and calling this instead of calling StateHasChanged in the parent does bring in the changes, so its a solved problem...
However I wanted to ask why this is? Am I going mad, or would calling StateHasChanged usually work when calling from the parent like that? (Imagine passing in a string variable inside a H4 tag as the dialog title, changing the string variable and calling StateHasChanged).
If that would normally work, I am interested in why we need to call Refresh instead in this instance, what was done to cause this and for what reason? (Its plain curiosity, not an problem or issue at all).
As an example to illustrate, I created a simple repl with 2 dialogs. Each contains a button which will change the title, but the method to change the title attempts to update in different ways. The first calls StateHasChanged (which I thought at first would work), whereas the second calls Refresh on the Dialog ref, which is what does work. The repl can be found here: https://blazorrepl.telerik.com/cvlmwuOR02RX8uFh46
Thanks.
Hello, I'm apologize for my poor English.
The StockChartValueAxis format is set to {$0.0}, but I want to change it to {0} integer form.
What should I do?
Hi,
I've noticed a problem with the Grid when using grouping as well as grid row drag and drop functionality.
If both are enabled, the group headers don't span the entire width of the grid. The rendered data cell that represents the group header gets a colspan attribute that is 1 below the desired number. For example, if my Grid has grouping enabled and has 2 GridColums and 1 GridCheckboxColumn, the colspan should be 4 (see first attachment), which is correct.
But, when I also enable the drag and drop functionality (using RowDraggable), the computed colspan is still 4, even though it should be scaled up to 5 (see second attachment).
Is there any way we can override this behaviour, or is there any other work-around?
Kind regards,
Diederik
Hello, I apologize for my poor English.
I'm trying to develop the stock chart. The categories of all stock charts in the demo are date format, but what I want is int format.
I'd like to make the weekly count a chart. Therefore, my category data is a number from 1 to 53.
The current page is as follow.
Data represented as 09:00:00.fff is actually a number between 1 and 53.
Also, I would like to express the valueaxis expressed in {$0.0} as an integer.
How can I use the int type in category data?
As per subject, we need to use the StockChartNavigator but we don't want to use StockChart.
We basically just want to have that kind of component to be able to select a range between dates.
We could even fit it with a simple data serie if it's needed, but we don't want to use it within a stock chart
Is it possible?
An alternative is the RangeSlider but we'd prefer the graphical aspect of the StockChartNavigat and in case use it binding its range to display non-stock charts
Thanks
Our pipelines are failing:
The nuget command failed with exit code(1) and error(Failed to retrieve information about 'Telerik.UI.for.Blazor' from remote source 'https://nuget.telerik.com/v3/package/telerik.ui.for.blazor/index.json'. The HTTP request to 'GET https://nuget.telerik.com/v3/package/telerik.ui.for.blazor/index.json' has timed out after 100000ms.