Hi Daniel,

I was trying to do a similar thing the other day. I wound up add a CEWP to the 
page and using JavaScript to check the innerhtml of the relevant block, then 
setting its parent's container style to hidden. It's not terribly elegant but 
it works. :)

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of 
Daniel W. Brown
Sent: Wednesday, 4 November 2009 11:00 AM
To: 'ozMOSS'
Subject: Hide a Web Part

Howdy all,

I'm after a quick solution to completely hide a web part if there is no data 
returned by the CAML query without having to code something up.

Of course if needs be, happy to code something up, but just thought I would do 
a shout out to see if anyone has addressed this in the past.

Has anyone done anything like this before?

Thanks,

DB
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to