Does anyone knows how to disable / stop the execution of inline controls when the editable region is hidden (visible=false)?
Example code on aspx:
<cms:CMSEditableRegion ID="CMSEditableRegion1" DialogHeight="200" DialogWidth="900" RegionType="HtmlEditor" RegionTitle="Content for User A" runat="server" />
<cms:CMSEditableRegion ID="CMSEditableRegion2r" DialogHeight="200" DialogWidth="900" RegionType="HtmlEditor" RegionTitle="Content for User B" runat="server" />
<cms:CMSEditableRegion ID="CMSEditableRegion3" DialogHeight="200" DialogWidth="900" RegionType="HtmlEditor" RegionTitle="Content for User C" runat="server" />
Code in aspx.cs (Page Load):
if (true)
{
CMSEditableRegion1.Visible = true;
CMSEditableRegion2.Visible = false;
CMSEditableRegion3.Visible = false;
}
Inside the EditableRegions (1,2,3) there are different InlineUserControls. When EditableRegions 2 and 3 are set to visible = false, how to stop the execution of the InlineUserControls insite EditableRegions 2 and 3?