Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > hide webpart if antoher webpart has no record found View modes: 
User avatar
Member
Member
support-schepnet - 6/3/2009 9:36:03 AM
   
hide webpart if antoher webpart has no record found
Is it possibile to "bind" two webparts so that they are both hidden as one webpart has no records to show?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 6/7/2009 4:09:52 AM
   
RE:hide webpart if antoher webpart has no record found
Hello,

You can create copy of one of web parts, put the control from second web part into this copy and ensure "binding" in code-behind of it. You can inspire by code of original web parts that you can find in ~\CMSWebParts folder.

Best Regards,

Martin Dobsicek