When attempting to utilize the FilterMenuButtonsTemplate component, after selecting any of the defined action buttons (i.e., Clear, Filter, etc.), the selection will cause the page to refresh.
Steps:
Hello Denny,
I can confirm that the bug is planned to be fixed and included in our next release. We are planning to release a patch version, which will probably be live in the next few weeks. That is the information that could be provided at that moment. I hope this serves you well.
In the meantime, a possible workaround to handle the page reload is to set ButtonType="ButtonType.Button" to all TelerikButtons in the FilterMenuButtonTemplate or FilterMenuTemplate.
<GridColumn Field="Price">
<FilterMenuTemplate>
<TelerikButton OnClick="@HandleCustomAction" ButtonType="@ButtonType.Button">Action</TelerikButton>
</FilterMenuTemplate>
<FilterMenuButtonsTemplate Context="filterContext">
<TelerikButton OnClick="@(async _ => await filterContext.FilterAsync())" ButtonType="@ButtonType.Button">Filter </TelerikButton>
<TelerikButton OnClick="@(() => SetPredefinedFilterAsync(filterContext))" ButtonType="@ButtonType.Button">Select >= 55</TelerikButton>
<TelerikButton OnClick="@(() => ClearFilterAsync(filterContext))" ButtonType="@ButtonType.Button">Clear</TelerikButton>
</FilterMenuButtonsTemplate>
</GridColumn>
Regards,
Tsvetomir
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
does the status of "Planned" on this bug mean that it will be corrected ? i have the same issue and need to know how to solve it.