10 Dec 2007
21 Jul 2009
Link to this post
This is probably more of an ASP.NET issue...but I have a page with the standard Sitefinity search form. Also on that page I have a login form which is contained in the anonymous template of the loginview control. When I type in a user name and password, then hit "enter", the form posts the search box, not the login form, taking the user to the search results page.
How can I prevent that? I'd rather auto post the login form, or worst case cause nothing to be posted. Ideally, if the search textbox has the focus, I'd like the search to post, and if either of the login textboxes has the focus, then post the login form.