This is probably something really easy, but in my Umbraco install, using UMBSearch2 (which is of course, a great package!) - when I place a search box on a page, I am unable to submit the search by just pressing Enter, I have to click the button.
Is there any way to change this action?, as I have some users who don't seem to be able to grasp the concept of clicking rather than hitting the Enter key.
small feature change
This is probably something really easy, but in my Umbraco install, using UMBSearch2 (which is of course, a great package!) - when I place a search box on a page, I am unable to submit the search by just pressing Enter, I have to click the button.
Is there any way to change this action?, as I have some users who don't seem to be able to grasp the concept of clicking rather than hitting the Enter key.
Just use jQuery to submit the form...
Thomas
after a bit of 'googling', I've managed to find a fix that works for me:
change searchbox.ascx to the following: (add the bold text)
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchBox.ascx.cs" Inherits="UmbSearch2.UserControls.SearchBox" %>
<asp:Panel ID="_pnlsearch" DefaultButton="btnSearch" runat="server">
<asp:TextBox ID="txtInput" runat="server" Width="250px"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Text="Search" onclick="btnSearch_Click" /><br />
</asp:Panel>
Hi all,
This is indeed something I had forgotten. Version 1.2 will have this feature. I will upload v1.2 today!
is working on a reply...