|
@using Syncfusion.Blazor.SplitButtons
<SfButtonGroup>
<SfButton @onclick="@((MouseEventArgs args) => OnClickHandler(args, "Left"))">Left</SfButton>
<SfButton @onclick="@((MouseEventArgs args) => OnClickHandler(args, "Center"))">Center</SfButton>
<SfButton @onclick="@((MouseEventArgs args) => OnClickHandler(args, "Right"))">Right</SfButton>
</SfButtonGroup>
<br />
<br />
<textarea value="Item Clicked: @content"></textarea>
@code{
private string content;
private void OnClickHandler(MouseEventArgs args, string text) {
content = text;
}
}
|
This technique does not seem to work any longer. generates errors in the generated code.
Hi Chas,
For further validation, could you please share the issue's replicable working sample or replicate the issue in our sample with replication steps and a video demonstration? and which package version you are using in your project. Based on that, we will check and provide you with a better solution quickly.
Please let us know if you need any further assistance on this.
KeerthiKaran K V