Hi
I have defined an OnUpload handler like this on the TelerikUpload:
<TelerikUpload AutoUpload="false" ... OnUpload="@OnUploadHandler" ></TelerikUpload>
It turns out that the handler is only called when I click on the 'Upload' button. If the upload fails, the retry icon is shown. However when clicking on the Retry icon, the OnUpload handler is not called.
In my case that is a problem, because I add headers and request in this event:
async Task OnUploadHandler(UploadEventArgs e){ e.RequestData.Add("SomeFormField", "Hello world!"); // for example, user name e.RequestHeaders.Add("Authorization", "Bearer " + Token); // for example, authentication token}
It does not matter if the request is to same host or cross-domain.
Best regards
just a basic list as a data source:
public List<Feature> Features { get; set; } = new List<Feature>();
as simple as I can make the Grid:
<TelerikGrid Data="@Features" Sortable="true">
<GridColumns>
<GridColumn Field="Qty" />
</GridColumns>
</TelerikGrid>
And an event to add features:
void AddFeature()
{
Features.Add(new Feature() { Qty = 1 });
}
I can add the features just fine, but nothing shows in the grid until I sort, then it is all there - what am I missing?

Hello,
Sorry if this has already been asked, but I couldnt find a topic on that subject.
I would like to know if it's possible to validate for a duplicate value for a field when submitting an add/edit of a record in a grid (popup edit) and return an error in the form to inform the user that the value is already used.
I am able to do it in the appropriate handle after the submit but i can't seem to prevent the form to close and to display an error message to the user.
Thanks!


Hi guys,
Is there a possibility in incell edit mode, on edit, when a text/numeric input shows up, from the EditTemplate, it's text to be selected by default?
What I want to achieve is the following: in a numeric input we have the default value of zero. I want that value to be selected as when the user does a copy+paste in the input that value will be overwritten. If it's not selected the cursor appears after that value so when the user does a copy+paste then the new value will be concatenated with the value that was present in the input before the copy+paste, which is an issue that I don't want to achieve.
I hope you understood what I want to achieve.
Best regards,
Cipri
Is is possible to add a trend line / linear regression to the Blazor charts like Excel?
See it is available in the kendo charts (https://docs.telerik.com/kendo-ui/knowledge-base/chart-add-trend-line).
Also found the old 2015 knowledge base article (https://www.telerik.com/blogs/how-to-plot-a-simple-linear-regression-in-telerik-asp.net-web-form-chart)
To give some background, I'm looking at this from the perspective of using the grid in a similar fashion as Excel.
My users will click on a cell in the row and then from there navigate via the keyboard or mouse.
If you go to the Grid - Incell Editing demo page and click into the first editable column (Weight) and then hit tab, the focus leaves the grid entirely (not desireable). Also, if you are in the Weight field and mouse click into the field immediately to the right (Color) the current active cell flashes but then stays in focus. It's a bit of a mess. My intent is to have a grid that expert users can navigate quickly using the keyboard with little mouse input.
Is Inline editing a better option? Can I leverage a row-click event to bring the row in edit mode? Can navigating away from the row trigger an automatic update? Or what about hitting tab in the last editable cell? Can we have it automatically add a new row and enter edit mode on the new row?
The users would revolt against having to click and Edit button and a Save button on each row.
Hello, I'm having trouble getting nested grid and or column sizes to work.
If we use this as our example: https://docs.telerik.com/blazor-ui/components/grid/hierarchy
The nested grid, DetailTemplate, when expanded fills the row space as defined by the parent grid.
Even if I add Width parameters to the DetailTemplate Grid and GridColumn controls the DetailTemplate Grid and columns still fill the row space.
Looks funny to me to have the OrderId and DealSize columns in the DetailTemplate to be so large.
Is it possible to size the DetailTemplate Grid and column more appropriatly?
Thanks