Button in Header Template not firing OnClick unless button is clicked more than once

1 Answer 470 Views
TileLayout
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Bob asked on 17 Feb 2022, 07:05 PM

I have a Tile Layout with a TelerikButton in the HeaderTemplate and it does not fire unless I click on the button more that once.  This seems to have started with v3 of the controls.


			<TileLayoutItem ColSpan="13" RowSpan="12" Class="scrollableTile">
				<HeaderTemplate>
					<h5 class="k-card-title d-inline-block">Hours</h5>
					<TelerikButton Class="float-end" Icon="save" Title="Save" OnClick="SaveHoursAsync"></TelerikButton>
				</HeaderTemplate>
				<Content></Content></TileLayoutItem>

Bob
Top achievements
Rank 1
Iron
Veteran
Iron
commented on 17 Feb 2022, 08:21 PM

Yes.  Thanks.
Marin Bratanov
Telerik team
commented on 17 Feb 2022, 08:26 PM

I marked my post an answer for anyone hitting the same behavior to see easier. Sorry for orphaning your comment a little ^_^

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Feb 2022, 08:19 PM
Perhaps this is what you need: https://feedback.telerik.com/blazor/1553733-prevent-tilelayout-from-stopping-the-click-event-in-the-tile-header ? If it is and this solves the issue, Vote and Follow it.
Tags
TileLayout
Asked by
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or