Results 1 to 5 of 5

Thread: ASP submit button in new window

  1. #1
    Join Date
    Aug 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ASP submit button in new window

    I have a form. It lets the user choose a car Make, Model, and Year.
    When the submit button is clicked it returns the results.
    Problem is I want the submit button to return the results in a new window, not the existing one.

    I added target="_blank" to the form id as shown below

    <form id="Form1" target="_blank" method="post" runat="server">


    this opens a new window, but each time an item is selected. So when you choose a Make it opens a new window and then the same for the Model and year.

    How can i get it to only open the new window when the submit button is pressed?

    I tried adding the target="_blank" to the asp but it did nothing

    <asp:Button id="btnSubmit" target="_blank" runat="server" Text="Find My Vehicle Request"></asp:Button>

    Any help is appreciated. I tried it on my own for almost 2 hours

  2. #2
    Join Date
    Aug 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    150 views no ideas? need help ;l

  3. #3
    Join Date
    Aug 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    another 100 views, no answer. Please!!!

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Most of the views may be from bots, or users who don't know the answer.
    Honestly, the ASP section of this forum is not very active so you may get an answer faster at a forum that focuses more on ASP. For questions about CSS, JS, PHP, etc., we'll be able to help, though.

    It appears to me that the form is actively processing, so you would need to stop that from happening. Of course there may be an alternative to tell ASP to wait, but I don't know what that is. You could also use Javascript to attempt this, but I don't know how it would interact with the ASP.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Aug 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the head up : )

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •