Im trying to allow multiple files to be uploaded, but instead of getting all the files sent into the handler, its one at a time, at least with Chrome.
What can I check?
My save api handler has a signature like this
[HttpPost]public async Task<IActionResult> Save(IEnumerable<IFormFile> files, string SelFileType)If I have 3 files selected for example, that method gets called 3 times each with a seperate file, instead of 1 with a collection of IFormFile objects
The upload control
<TelerikUpload SaveUrl="@SaveUrl" Multiple="true" OnUpload="@OnUploadHandler" OnSelect="@OnFileSelectHandler" OnError="@OnFileErrorHandler" OnSuccess="@OnSuccessHandler"/>when I click on the filter icon of the grid I get this error
Microsoft.JSInterop.JSException: Could not find 'showAnimationGroupAsync' in 'window.TelerikBlazor'.
Error: Could not find 'showAnimationGroupAsync' in 'window.TelerikBlazor'.
I am using Telerik.UI.forBlazor 2.17.0
and i am referencing the local JS file _content/Telerik.UI.for.Blazor/js/telerik-blazor.js
I am not sure what is causing this error, any help would be appreciated
Thanks
Hello,
I was wondering if it is possible when Multiple Selection Mode is turned on that you don't have to press CTRL first to select multiple dates.
So what I want is the functionality that you get when you press CTRL+click but I don't want to press and hold CTRL.
Or is there a workaround to make this possible?
Hey,
iam evaluating the blazor components for our new project. Our customer has complex validation rules so FluentValidation is for us required. In my PoC i tried to use FluenValidation inside a PopOut but i was not able. Is there a solution to use FluenValidation in the PopOut instead of datanotations? I'm using this package https://github.com/ryanelian/FluentValidation.Blazor. This is my Code
<FluentValidator Validator="validator" /> <TelerikGrid Data="personList" Pageable="false" Sortable="true" Resizable="false" EditMode="GridEditMode.Popup" OnUpdate="@UpdateOrCreateHandler" OnDelete="@DeleteHandler" OnCreate="@UpdateOrCreateHandler">...</TelerikGrid>private List<Person> personList;
PersonValidator validator = new PersonValidator();
With the component call "<FluentValidator Validator="validator" />" i get this error:
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: DataAnnotationsValidator requires a cascading parameter of type EditContext. For example, you can use DataAnnotationsValidator inside an EditForm.System.InvalidOperationException: DataAnnotationsValidator requires a cascading parameter of type EditContext. For example, you can use DataAnnotationsValidator inside an EditForm. at Microsoft.AspNetCore.Components.Forms.FluentValidator.OnInitialized () <0x3c7cef0 + 0x00018> in <filename unknown>:0 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync () <0x306e830 + 0x00030> in <filename unknown>:0
Is there a solution to work with fluentvalidation?
Hello,
Is it possible to set a fix pixel width to the columns of the grid and when the grid is displayed the columns not to appear stretched with the entire width of the table?
What I mean is the following:
1. For example I have a grid with 4 columns. Each column has 100px width. The width of the container where the grid is present is 600px. In this case having 4 columns we have a total of 400px and it remains an empty space of 200 pixels to the end of the grid.
2. In the second exemple I have 8 columns in the grid. Each column heaving 100px width. The width of the container where the grid is present is 600px. In this case the sum of the widths of the columns is 800px which is bigger then 600px by 200px and in this case I would like on the bottom to appear a horizontal scroll that will give the user the possibility to see the contents of of the other 2 columns.
I have tried to give a fix width to all the columns, to set the Resizable property to true but I could not achieve what I explained in the 2 cases that I mentioned above.
Can you help me please? Can those cases be achieved somehow or not?
Best regards,
Ciprian
Hi,
does the GridSearchBox today support search operators, like searching for "USA or UK"?
If not, is this a planned feature?
Or can I as a developer hook into something like a "onSearch" event and provide my own search logic?
Thank you!
So I want make a component that encapsulates your grid column component and then drive the look from a database table (aka width and type).
for numeric columns I want to align right .
The problem is that the type of object is not known so i cannot cast it like you have done in your right align template example code.
Is there a way to get the reference field value into the template and not just the bound record object (aka context).
or of course is there a better way to do this ??
Any help would be appreciated.
@switch ((Dashboard.Enums.EColumnType)GridViewColumn.ColumnType){ case Enums.EColumnType.Numeric: <GridColumn Field="@GridViewColumn.FieldName" Title="@GridViewColumn.HeaderText" Width="@GridViewColumn.Width"> <Template> <div style="text-align: right;"> @((context as data).TargetProperty) </div> </Template> </GridColumn> break; case Enums.EColumnType.Currency: break; case Enums.EColumnType.Percentage: break; default: <GridColumn Field="@GridViewColumn.FieldName" Title="@GridViewColumn.HeaderText" Width="@GridViewColumn.Width" /> break;}@code { [Parameter] public GridViewColumn GridViewColumn { get; set; }}
Here's my chart markup, please let me know if you have any suggestions. Thank you so much.
<TelerikChart Width="100%" Height="100%" Transitions="false" RenderAs="Telerik.Blazor.RenderingMode.Canvas"> <ChartSeriesItems> <ChartSeries Type="ChartSeriesType.Line" Name="" Data="@Data" Color="@LineColor"> <ChartSeriesMarkers Visible="false" /> <ChartSeriesLabels Visible="false" Background="transparent" /> </ChartSeries> </ChartSeriesItems> <ChartCategoryAxes> <ChartCategoryAxis Visible="false"><ChartCategoryAxisMajorGridLines Visible="false" /></ChartCategoryAxis> </ChartCategoryAxes> <ChartValueAxes> <ChartValueAxis Visible="false"><ChartValueAxisMajorGridLines Visible="false" /></ChartValueAxis> </ChartValueAxes> <ChartTitle Visible="false" /> <ChartLegend Visible="false" /></TelerikChart>I am getting a linker warning:
SeverityCodeDescriptionProjectFileLineSuppression State
WarningTelerik.DataSource.Extensions.QueryableExtensions.CallQueryableMethod(IQueryable,String,LambdaExpression): Could not resolve dependency type 'System.Linq.Queryable' specified in a `PreserveDependency` attributeBlazor Wasm Kendo 2.ServerILLink0
Error is from the Server project.
Blazor Webassembly Hosted app.
VS Version 16.8.0 Preview 4.0
Net5 Version 5.0.100-rc.2.20479.15
Blazor UI Version 2.17.0