Using an event handler to trigger a CGI?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



We're using a 3rd party CGI based search engine for our site.

The sample code to implement a search field is more ASP/PHP centric and uses
the traditional GET form handling:

<form method="get" action="search.cgi">

Since this will be placed within ASPX pages, I obviously already have a FORM
wrapping the page and that form, of course, does a post back.

Is there a way in .net to use the event handler of a button to pass the data
via a get action to the CGI script?

In otherwords, how to I take the traditional method of having multiple forms
on a page all with different ACTION attributes and convert them to the .net
way of having individual event handlers take care of things upon postback?

-Darrel


.


Quantcast