From what I have read you don't need to implement the OnPreRender or Render
if you are creating a composite web control. The function
CreateChildControls() will write all of the Rendering for you. I believe
that is why you are suppose to call EnsureChildControls(), but I do not have
any properties so I am not call that function. I was wondering if there was
a way to do a Composite control without the OnPreRender or Render methods.
Thanks and please let me know if you have any more ideas.
Brendon
"Jason Bentley" wrote:
> Brendon, you are not using OnPreRender or Render in your control. You
> won't see any output unless you do.
>
> Jason Bentley
> http://geekswithblogs.net/jbentley
>
>