Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to search on homepage of respective item?

how to search on homepage of respective item?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasedesignsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hi_everybody
    wrote on last edited by
    #1

    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)

    A 1 Reply Last reply
    0
    • H hi_everybody

      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)

      A Offline
      A Offline
      Andreas X
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups