how to search on homepage of respective item?
-
hi to all, i am new in asp.net. my project is related to tours and travels. i have created usercontrols for searching car, bus. now, there is menucontrol which shows menus like, Home | Bus | Car |Hotel when i click on Bus it should display the search of the bus for that i have register the usercontrol on Index page of masterpage. but when i run the project and as i done coding on indexpage of masterpage at the time of displaying menu it shows object expected error and when i click on bus it again shows object expected error and shows the search control. design is:
<%@ Page Language="VB" MasterPageFile="~/TourMasterPage.master" AutoEventWireup="false" CodeFile="Reception.aspx.vb" Inherits="Reception" %>
<%@ Register TagName="hotelSearch" TagPrefix="UC" Src="~/Search/Hotel/UCHotelSearch.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
<table width="100%" cellpadding="2" cellspacing="2" runat="server">
<tr>
<td>
<table id="tblHotel" runat="server" width="100%" cellpadding="2" cellspacing="2" style="display:none">
<tr>
<td>
<UC:hotelSearch ID="hotelSearch" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table></asp:Content>
i want to show simply a search for user when user click on that bus or car....at that time the submenus should be displayed i.e. add new bus,modify bus etc. (like makemytrip site)
-
hi to all, i am new in asp.net. my project is related to tours and travels. i have created usercontrols for searching car, bus. now, there is menucontrol which shows menus like, Home | Bus | Car |Hotel when i click on Bus it should display the search of the bus for that i have register the usercontrol on Index page of masterpage. but when i run the project and as i done coding on indexpage of masterpage at the time of displaying menu it shows object expected error and when i click on bus it again shows object expected error and shows the search control. design is:
<%@ Page Language="VB" MasterPageFile="~/TourMasterPage.master" AutoEventWireup="false" CodeFile="Reception.aspx.vb" Inherits="Reception" %>
<%@ Register TagName="hotelSearch" TagPrefix="UC" Src="~/Search/Hotel/UCHotelSearch.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
<table width="100%" cellpadding="2" cellspacing="2" runat="server">
<tr>
<td>
<table id="tblHotel" runat="server" width="100%" cellpadding="2" cellspacing="2" style="display:none">
<tr>
<td>
<UC:hotelSearch ID="hotelSearch" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table></asp:Content>
i want to show simply a search for user when user click on that bus or car....at that time the submenus should be displayed i.e. add new bus,modify bus etc. (like makemytrip site)
Hi! I want to help you, but i'm reading your question over and over, and i can't understand what you are trying to do.
Andreas Johansson
IT Professional at Office IT Partner i Norrbotten Sweden
What we don't know. We learn.
What you don't know. We teach