ViewState problem with container Visibility user control in 3.1.1

Last post 08-25-2005 4:08 PM by cacconsulting. 0 replies.

Sort Posts:

  • ViewState problem with container Visibility user control in 3.1.1

    08-25-2005, 4:08 PM
    • Member
      125 point Member
    • cacconsulting
    • Member since 02-24-2005, 11:18 AM
    • Southeastern, MA
    • Posts 25
    I am experiencing a problem when a custom module I wrote performs a post-back. What is happening is that the module visibility page setting (which is set to None for my container) re-appears after the post back. Upon further investigation, I noticed that someone added EnableViewState="False" in
    ~/Admin/Containers/Visibility.ascx. I think this is a bug. I would recommend that the file be changes back to the way it was. The complete file should be:
    <%@ Control language="vb" CodeBehind="Visibility.ascx.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Visibility" %>
    <asp:LinkButton ID="cmdVisibility" Runat="server" CausesValidation="False">
    <asp:Image ID="imgVisibility" Runat="server"></asp:Image>
    </asp:LinkButton>
    
    
Page 1 of 1 (1 items)