How do you code a <asp:hyperlink...> to call a .VB function? Maybe that's not the right thing to use to get what I need here ...
I tried using a <asp:LinkButton...> instead, but that has to be wrapped in a <form> tag, and I already have a form on the parent page. I'm doing this on a .ASCX page btw.
Each page is using: <%@ Register TagPrefix="MenuControl" TagName="Menu" Src="includes/menu.ascx" %>
then "<MenuControl:Menu runat="server" />" is inserted where I want the menu to show.
On the menu.ascx, I want to have a link "Log Out" (that looks like an <a href=""...>) that calls my "LogOut()" function from my PubClasses.vb.
KizMar
------------
I tried using a <asp:LinkButton...> instead, but that has to be wrapped in a <form> tag, and I already have a form on the parent page. I'm doing this on a .ASCX page btw.
Each page is using: <%@ Register TagPrefix="MenuControl" TagName="Menu" Src="includes/menu.ascx" %>
then "<MenuControl:Menu runat="server" />" is inserted where I want the menu to show.
On the menu.ascx, I want to have a link "Log Out" (that looks like an <a href=""...>) that calls my "LogOut()" function from my PubClasses.vb.
KizMar
------------