Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151021 | Jan 28,2020 12:22 PM UTC | Jan 29,2020 10:17 AM UTC | Blazor | 1 |
![]() |
Tags: Grid |
<EjsGrid AllowPaging="true" DataSource="@Orders" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Cancel", "Update" })">
<GridEvents OnActionBegin="BeginHandler" TValue="Order"></GridEvents>
. . . . .. . . . . . . . . . . ..
</GridColumns>
</EjsGrid>
@code{
public string UploadedFile { get; set; }
public void BeginHandler(ActionEventArgs<Order> Args)
{
if (Args.RequestType == Syncfusion.EJ2.Blazor.Grids.Action.Save)
{
//save the file name / url in grid datasource.
Args.Data.Imagesrc = <Kindly save the uploaded image url here>;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.