Hello,
the search function and filter not working, below my code:
<div class="top-row auth">
<a class="btn btn-lg px-3 btn-light" rel='nofollow' href="#" role="button">
<img src="/Image/elencoPazienti.png" height="50">
<br><span style="font-size:smaller;">Elenco Pazienti</span>
</a>
<a class="btn btn-lg px-3 btn-light" rel='nofollow' href="#" role="button" @onclick="@onClick">
<img src="/Image/nuovoPaziente.png" height="50">
<br><span style="font-size:smaller;">Nuovo Paziente</span>
</a>
<a class="btn btn-lg px-3 btn-light" rel='nofollow' href="#" role="button">
<img src="/Image/moduli.png" height="50">
<br><span style="font-size:smaller;">Moduli</span>
</a>
</div>
<br>
<div class="col-lg-12 control-section">
<div class="content-wrapper">
<div class="row">
<SfGrid TValue="Paziente" ID="Grid" @ref="Grid" AllowFiltering="true">
<SfDataManager Url="/api/Paziente" Adaptor="Adaptors.WebApiAdaptor"></SfDataManager>
</SfGrid>
</div>
</div>
</div>
@code {
[CascadingParameter]
private Task<AuthenticationState> authenticationStateTask { get; set; }
private string _authMessage = "";
SfGrid<Paziente> Grid;
private DialogSettings DialogParams = new DialogSettings { Width = "450px", Height = "550px" };
protected override void OnInitialized()
{
LogUsername();
}
private async Task LogUsername()
{
var authState = await authenticationStateTask;
var user = authState.User;
if (user.Identity.IsAuthenticated)
{
_authMessage = $"{user.Identity.Name}";
}
else
{
_authMessage = "";
}
}
I use net 6 Sinfusion 19.0.4.56
Th
Hi Monisha,
my project is a Blazor Web Assembly with Asp.net Core Hosted.
I must use WebAPI adaptor?