radzen-blazor-studio icon indicating copy to clipboard operation
radzen-blazor-studio copied to clipboard

Removing a button does not remove assigned OnClick Method

Open AnNormalie opened this issue 3 years ago • 2 comments

When removing a button in the designer with an assigned on Click event the code gets not removed.

eg this gets not removed when removing the button.

protected async System.Threading.Tasks.Task Button0Click(MouseEventArgs args)
{
    UriHelper.NavigateTo("article");
}

The project and the button got generated by Radzen (not RBS)

AnNormalie avatar May 13 '22 19:05 AnNormalie