Rendering controls

Nahsan

New Member
I am trying to render a custom control using the HTMLTextWriter and keep getting the error "Value null was found where an instance of an object was required. " Anybody have any ideas?<BR><BR><BR>Dim IOWriter As System.IO.TextWriter<BR>Dim Writer As New HtmlTextWriter(IOWriter)<BR>ctrlImage.RenderControl(Writer)<BR><BR>I have also tried the following to no avail:<BR><BR>Dim Writer As tmlTextWriter<BR>ctrlImage.RenderControl(Writer)<BR>
 
Back
Top