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.
Hi, I need to render the control to string and it retruns the following:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
This is what i am doing:
DropDownCalendarControl caln =new DropDownCalendarControl(); StringBuilder sb = new StringBuilder(); StringWriter tw = new StringWriter(sb); HtmlTextWriter hw = new HtmlTextWriter(tw); caln.RenderControl(hw);
MWMelba Winshia Syncfusion Team March 4, 2009 01:07 PM UTC
Hi Maayan,
Thank you for your interest in Syncfusion Products.
The issue 'NullReferenceException occurs while rendering the control to string' is suspected to be a defect. We have forwarded this to our Development Team for further analysis. We will update you with our Development Team's response in two business days.