Submitting ASP.NET Forms

Discussion in 'ASP .Net' started by Mark Fisher, Oct 23, 2004.

  1. Mark Fisher

    Mark Fisher Guest

    Is there a way to submit an ASP.NET form to a different page, and not back
    to itself?

    Thanks
    Mark Fisher, Oct 23, 2004
    #1
    1. Advertising

  2. The current version of ASP.NET doesn't really provide any great way to do
    this, but here are some ideas for you:

    1) Output an old fashioned non-server form to the client (without the runat=
    'server' attribute) Set the action attribute like you would have in
    ASP.OLD, and use javascript to submit the form.
    2) use client side script to change your ASP.NET form action attribute
    3) use this webform control: http://www.wilsondotnet.com/Controls/

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net



    "Mark Fisher" <> wrote in message
    news:qAAed.1004$...
    > Is there a way to submit an ASP.NET form to a different page, and not back
    > to itself?
    >
    > Thanks
    >
    >
    Steve C. Orr [MVP, MCSD], Oct 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. msnews.microsoft.com

    Forms not submitting in some browsers! Help!

    msnews.microsoft.com, May 28, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    502
    Anachostic
    May 30, 2004
  2. =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChV

    FORMS NOT SUBMITTING DUE, IIS CRASH: appSettings KEY in web.confi

    =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChV, Nov 4, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    554
    =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChV
    Nov 4, 2005
  3. NeoPhreak

    Submitting Multiple Forms

    NeoPhreak, Oct 21, 2003, in forum: HTML
    Replies:
    9
    Views:
    509
    Whitecrest
    Oct 22, 2003
  4. Merlin

    submitting forms over get

    Merlin, Sep 25, 2005, in forum: HTML
    Replies:
    2
    Views:
    412
    Mitja Trampus
    Sep 25, 2005
  5. charlie bowman

    Net::HTTP and submitting forms

    charlie bowman, Feb 23, 2006, in forum: Ruby
    Replies:
    2
    Views:
    89
    Charlie Bowman
    Feb 24, 2006
Loading...

Share This Page