Results 1 to 3 of 3

Thread: Form Post Programmatically VB.Net

  1. #1
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    206
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Form Post Programmatically VB.Net

    I'm sure I've previoulsy seen an example of a form POST being created programmactically and firing off to the required page...

    I'm trying to run a button onCommand which will bring some elements together and send them via post rather than a querystring...

    Any clues would be fantastic!...

  2. #2
    Join Date
    Jan 2006
    Posts
    419
    Thanks
    2
    Thanked 16 Times in 16 Posts

  3. #3
    Join Date
    Sep 2006
    Posts
    210
    Thanks
    1
    Thanked 6 Times in 6 Posts

    Default

    Hi

    Some time ago this is something I came up against whislt trying to pass data to Pay Pal shopping cart.

    Using querystring I felt looked horrible and there is a limit to the amount of data that could be passed this way so I wanted to pass date using the form button as you can on a standard html page, well as u have no doubt found out that all that happens with a html form button on a Asp.net form it just causes a post back not much use for what I wanted. I eventually came across a bit of code that did just what I wanted which I have now made up into a server control, to save me having to write the code each time, I have a bug to fix which is that the button that invokes the post control cannot be wraped in a Ajax Update panel or it does not work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Module Post Back Problem
    By spire128 in forum Portal/CMS Applications
    Replies: 3
    Last Post: 17th December 2007, 09:11 PM
  2. ASP.NET loses £ sign in form fields on postback
    By creativeworks in forum ASP.NET
    Replies: 6
    Last Post: 27th April 2007, 02:59 PM
  3. Programmatically Create an asp:imagebutton
    By creativeworks in forum ASP.NET
    Replies: 4
    Last Post: 7th December 2006, 02:45 PM
  4. Login form, webmail..
    By larza in forum HTML/CSS/JavaScript
    Replies: 5
    Last Post: 27th March 2006, 08:06 PM
  5. Form-ASP Help!?
    By JamesU2002 in forum General Technical Support
    Replies: 13
    Last Post: 29th January 2006, 10:11 PM

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
  •