The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
could you please provide a sample code for the subject.
I have a scenario where I need to add a headerTemplate when the dropDownList has an item selected, and then remove the header when the dropDown is empty (selectedIndex: -1)
POPrince Oliver Syncfusion Team January 19, 2018 11:37 AM UTC
Hi Pratura,
Thank you for using Syncfusion products.
We cannot dynamically assign HeaderTemplate in the DropDownList. But we can add a container element as headerTemplate for DropDownList and change its content based on the selected value using Change event. Kindly refer to the following code.