Turns out the packages in 18.4.x are now divided. I was only having
Syncfusion.Blazor nuget and ended up upgrading it to 18.4 only. I have added more packages now and website is now much less red. I'm still facing issue though:
SfDialog:
<SfDialog Width="400px" MinHeight="350px" EnableResize="true" Target="#ControlRegion" IsModal="true" @bind-Visible="@Visibility">
<DialogButtons>
<DialogButton OnClick="@DialogOkButtonClick" Content="OK" IsPrimary="true" />
</DialogButtons>
</SfDialog>
Code:
private bool Visibility { get; set; }
private void DialogOkButtonClick()
{
Visibility = false;
_dialogHeader = string.Empty;
_dialogText = string.Empty;
}
Now, I get the following errors:
- RZ9991 The attribute names could not be inferred from bind attribute 'bind-Visible'. Bind attributes should be of the form 'bind' or 'bind-value' along with their corresponding optional parameters like 'bind-value:event', 'bind:format'
- CS0428 Cannot convert method group 'DialogOkButtonClick' to non-delegate type 'object'. Did you intend to invoke the method?
The Dialog is almost a duplicate of your actual example. And this code was working before. These two erros prevent project compilation.