Skip to Content
0
Former Member
Apr 09, 2014 at 10:32 AM

Hide Master Page

382 Views

Hi Folks,

I have a page with fields in design view, which is placed in the content area of the master page.

Now, i want to hide this page based on a condition. I am following the below steps to hide it.

I am writing the below code in the design view page (initialization event, form ready event).

if ( $.HIDEPAGE_FLAG == "X" ) then

$.presence = "hidden"

endif

The fields present in the design view page are hidden, but I am getting a blank page. I am not able to hide this blank page.

Can you guys tell if i am missing anything here/how do i hide this blank page ?

Kind Regards,

Chaitanya