1

Resolved

Visual Studio Editor Error

description

When adding a control to an ASPX page the following error is display in the editor in design mode:

Error Rendering Control - ControlID
An unhandled exception has occured.
Object reference not set to an instance of an object

This error only shows up in the Design mode of the Visual Studio Editor. When you run the website it works without any problems.

comments

lede701 wrote Apr 25, 2014 at 10:47 PM

The issue seems to stem from the HttpContext not being available in the editor but is available on the web server. Currently it checks to see if the context is loaded before trying to pass the request to the CIcon class for display and image manipulation.

Still need to add some way that the editor can call the CIcon class to display the image.