Multiple component use of the tag SfDialog

Good day Syncfusion Support Team

I am running Blazor Server app with Syncfuion (19.4.0.38) on net5.0 and trying to view pdf documents from the wwwroot folder. I am getting the below error: 

"Multiple component use of the tag 'SfDialog'.Components:Syncfusion.Blazor.Popups.SfDialog..........." after downloading Syncfusion.Blazor.PdfviewerServer.Windows.

Your assistance will be highly appreciated

SfDialog.png




1 Reply

BS Buvana Sathasivam Syncfusion Team July 8, 2022 12:09 PM UTC

Hi Patrick,


Greetings from Syncfusion support.


We were unable to replicate your reported problem at our end when using both the SfDialog and SfPdfViewerServer components. Please find the below video and sample for your reference.

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/V_782022_1458271761264163


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/NET5Server_(5)1980248468

We suspect you can resolve this issue by using the namespace in the tag to specify which one you want to use. We suggest you use the full namespace for each SfDialog component.

<Syncfusion.Blazor.Popups.SfDialog @ref="dialogObj" Width="250px">

…….

    </Syncfusion.Blazor.Popups.SfDialog>


If the issue persists, can you please share your full page code or runnable sample to reproduce your issue at our end?

Regards,

Buvana S


Loader.
Up arrow icon