Author: aleeeex | Posted on: 5/6/2010 7:13:19 AM | Views : 436

Hi Everybody!


I have a basic webform (method="POST") which I would like to "hide" in codebehind by using <asp:LinkButton> and using the OnClick-value to generate the form in C# & doing the http-request. So basically the form looks like this:


<form method="POST" id="postform1" action="http:somesite/cgi-bin/cgi"> <input name="firstvalue" type="hidden" value="value1" /> <input name="secondvalue" type="hidden" value="value 2> /> <!-- etc etc --> <button type="submit" name="Submit" id="postform1_submit"> <img src="/images/submitbutton1.jpg" alt="form_submit" /> </button> </form>
Now what I want is to have something like this: 

Go to the complete details ...