Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8016443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:32:28+00:00 2026-06-04T20:32:28+00:00

Basically, I have created a search facility which is housed inside the navigation control

  • 0

Basically, I have created a search facility which is housed inside the navigation control on every page. My predecessor set every single page up enclosed in a form for postbacks.

I need these postbacks to continue working however I need the search when submitted to post to go to a separate page and post the data.
I tried various methods such as “postbackURL” on the ImageButton but it didn’t do anything.

Below is an example of my form code from my navigation.ascx control:

            <fieldset>
            <div style="height:8px;"></div>
                <asp:TextBox Width="116px" CssClass="search-textbox" Text="Search" style="height: 25px; background-color: #FFF; z-index: 1; color:#888;" onfocus="inputFocus(this)" onblur="inputBlur(this)" id="txtCriteria" runat="server" />
                <div style="height:10px;"></div>
                <asp:DropDownList Width="150px" CssClass="searchbox" Visible="true" ID="ddlDatatype" runat="server" >
                      <asp:ListItem Text="All" Value="all"></asp:ListItem>
                      <asp:ListItem Text="Title" Value="title"></asp:ListItem>
                      <asp:ListItem Text="Brand" Value="brand"></asp:ListItem>
                      <asp:ListItem Text="Description" Value="desc"></asp:ListItem>
                </asp:DropDownList>
                <div style="height:10px;"></div>
                <asp:DropDownList Width="150px" CssClass="searchbox"  Visible="true" ID="ddlCategory" runat="server"  />
                <div style="height:14px;"></div>
                <asp:ImageButton ID="btnSubmitSearch" runat="server"  style="margin-top: -2px;" ImageUrl="/images/search-go.png" />

            </fieldset>

This then needs to submit to another page. Any help would be greatly appreciated. Thanks

UPDATE: I have realised this code will now work, however it will not submit and move to the next page because if there is already a form being used on the selected page, then it gets hung up on the validation of the other forms controls. An example of the validation being used is:

  `<asp:RequiredFieldValidator ID="rfv_txtEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic">`

Is there any chance to bypass this form validation if the search facility was actually being used rather than the contact form? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:32:29+00:00Added an answer on June 4, 2026 at 8:32 pm

    Figured it out, just use the CausesValidation="false" property on the submit button.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made one custom user control (search text box), which basically consists of
Basically, I have created a custom control that uses an UpdatePanel, and as I
I have a page which basically allows an admin user to create manager user
I have a search action that returns a json response object which is basically
I have created a web service that is basically a json set of values
I have created following thing in android using android compatibility support package Basically i
Basically, I have created a pivot query wherein it will display the total_work_hours per
Basically, I am using Wireshark looking at captures that have been created previously. How
Basically, I have a model where I've created a superclass that many other classes
I've created a search form for a script in php. Basicaly this form have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.