<asp:Content runat="server" ContentPlaceHolderID="PageContent"> <cb:ScriptletPart ID="HomePage" runat="server" Layout="Three Column" Content="Home Page" LeftSidebar="Standard Sidebar 1" RightSidebar="Standard Sidebar 2" Header="Standard Header" Footer="Standard Footer" Title="Home Page" AllowClose="False" AllowMinimize="false"/> </asp:Content>
I can not simply change the values for the webpart properties because it is stores custom values in another location. With that, I would like to try hiding that webpart if a mobile content is specified. But it seems I can not set an ID for the asp:Content tag and call it from the load or prerender methods. Is their a way to identify and change the content inside a asp:Content tag?
I am using C# in .NET 4.0