I apologize if this is currently in the forums, but the search kept timing out on me.
I am just starting to develop my own modules. I have built a very simple module with a link button and a panel. I simply want the link button to make the panel visible when clicked. I have added it to my site; however, the code behind for the link button only gets hit when logged in as host or admin. If I am logged in as a regular user or not logged in, the link button does not work.
Right now the code is very simple. I am just trying to get something basic that I can build on. The code is below. If you need additional information, please ask. I appreciate any help that you can give.
aspx:
<asp:LinkButton ID="lnkAddCategory" runat="server">Add New Category</asp:LinkButton>
<asp:Panel ID="pnlNewCategory" runat="server" Visible="false">
<asp:TextBox ID="txtAddCategory" runat="server" Columns="40"></asp:TextBox><br />
<asp:Button ID="btnAddCategory" runat="server" Text="Add" />
</asp:Panel>
code behind:
Protected Sub lnkAddCategory_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lnkAddCategory.Click
pnlNewCategory.Visible = True
End Sub