>>Hi Viv,
>>
>>The solution was to wrap all objects I want to be invisible in another panel with attribute visible = false.
>
>That would work too. Just bear in mind that setting the Visible attribute to False will completely suppress the rendering of the element by ASP.NET.
It seems to work and suppressed the error we were having originally.
If it's not broken, fix it until it is.
My Blog