I have a custom control and it works great ... except that the control cannot be displayed at design time. (I am using VS 2008)
I think that many people who develop custom controls face this problem ... The error I get is the "Error creating control - CustomControlName". The reference to the object is not installed in the instance of the object.
I want to work. or at least debug it ... (Since it is a matter of development time, how to debug it?)
I tried using the code (! DesignMode) in OnInit, OnPreRender, RenderContents, CreateChildControls Methods (I just shoot in the dark) ...
Help pls. I really hope this is not a VS error!
Sankar
source
share