I am designing website which keeps tracks of many products.I want to show a general search box in my home page as a user may enter a product name and information about that product is displayed.
code:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" CodeFile="home.aspx.cs" Inherits="home" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" height="271" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" align="center"><h3>Categories</h3></td>
<td width="33%">
<form name="f1" method="get" action="search.aspx">
<input name="t1" type="text" class="input" placeholder=" Search by shop name" >
<input id="Submit1" type="submit" class="btn" value="Go" >
</form>
</td>
</tr>
<tr>
</asp:content>
But submit button does nothing when clicked.This logic worked good in my other Php and Jsp web applications.Is this a .net issue or am I missing something ?