Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147702 | Sep 20,2019 10:44 AM UTC | Sep 24,2019 09:27 AM UTC | Blazor | 6 |
![]() |
Tags: Grid |
protected override void OnAfterRender(bool firstRender)
{
Navigation.NavigateTo("/fetchdata");
} |
@*render navLink as EjsButton*@
<EjsButton>
<NavLink rel='nofollow' href="@link">
Navigate To
</NavLink>
</EjsButton>
@*to pass parameters on click*@
<EjsButton OnClick="Check">Pass Parameters</EjsButton>
<EjsGrid DataSource="@Orders" AllowPaging="true">
…………………………………..
</EjsGrid>
@code{
public List<Order> Orders { get; set; }
public string link = "fetchdata";
public string a = "check";
public void Check()
{
link = $"fetchdata/{a}";
}
. . . . . . . .
} |
|
|
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.