Need to call a function inside a template that returns html

so this isn't just for the autocomplete but for any component that uses templates. I have a template that I'd like to change the markup for dynamically. So i'd like to be able to call a function and have it return html markup. I've tried already and it is of course treating the returned value as a string. This would be similar in jQuery to using .html()

1 Reply 1 reply marked as answer

BC Berly Christopher Syncfusion Team February 4, 2021 11:43 AM UTC

Hi Thomas, 
  
Greetings from Syncfusion support. 
  
We can render the template content dynamically with help of render fragment in the Blazor platform. Please find the details about render fragment from the below link. 
  
  
Also, please share your exact use case requirement for passing and changing the mark up element within the template that will help us to check and proceed further at our end. 
  
Regards, 
Berly B.C  


Marked as answer
Loader.
Up arrow icon