Hi,

I have an application that uses an ascx user control to show a header on a web page. This page gives the option to display the page in Excel, but when I do this I don't want the header to be there (there not in the web site any more so don't need the navigation).

I thought it would be as simple as putting header.visible = false somewhere in my code, but alas it's not.

Does anybody know how I can get round this?

Cheers,

AuldNick