We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

DropDownCalendarControl

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);



1 Reply

MW Melba 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.

Please let me know if you have any concerns.

Regards,
Melba


Loader.
Live Chat Icon For mobile
Up arrow icon