I had the page submitting from a button and that worked fine but now Im trying to submit the form from a link but Im running into major problems. Basically I dont know what I need to use to handle it... basically the problem is someone within these lines (can you tell Im new at this)<BR>Protected WithEvents cmdLogin As <BR><BR>System.Web.UI.HtmlControls.HtmlInputButton<BR>Private Sub cmdLogin_ServerClick(ByVal sender As Object, _<BR> ByVal e As System.EventArgs) Handles cmdLogin.ServerClick<BR><BR><asp:HtmlInputButton runat="server" id="cmdLogin" text="Login..." NAME="cmdLogin" onclick="OnLoadData" /><p></p><BR><BR>Basically what object do I need to use for this?<BR>If I'm understanding you correctly you want to accomplish the same thing you have listed, but with a link instead. If that's the case, use the linkbutton web control. <BR><BR><asp:LinkButton id="cmdLogin" text="Login..." onclick="OnLoadData" runat="server"/><BR><BR>])ryWhat control should I be using?<BR><BR>Parser Error Message: The base class includes the field 'cmdLogin', but its type (System.Web.UI.HtmlControls.HtmlInputText) is not compatible with the type of control (System.Web.UI.WebControls.LinkButton).<BR><BR>I guess sometimes sleeping on it helps!