hi,
i am a facing an issue with blazor raden dialog,any help will be appreciated
the dialog is not opening ,neither i see any exceptions or errors
main page
@page "/AddGoals"
AddGoals
@inject DialogService dialogServiceDialog
<RadzenButton Text="Add Employee" Click="@(args => dialogService.Open<DialogCardPage>($"Order {orderID}", new Dictionary() { { "OrderID", orderID } }, new DialogOptions() { Width = "700px", Height = "530px" }))" />async void Open(string title, Type type, Dictionary<string, object> parameters, DialogOptions options)
{
await InvokeAsync(() => { StateHasChanged(); });
}
async void Close(dynamic result)
{
await InvokeAsync(() => { StateHasChanged(); });
}
}
code of page bei@page "/DialogCardPage/{OrderID"
@inject DialogService dialogService
OrderID: @OrderID
@code { [Parameter] public int OrderID { get; set; } protected override async Task OnInitializedAsync() { StateHasChanged();
}
}
ng opened in dialog