I have a form having one text field and one button all I want is to postback it to some other server. I have created an .ascx for it and I have added html textbox and asp.net button and using postbackurl to send it to other server.
Problem: Text field value is not getting passed to other server. I checked in firebug to find out that SharePoint is adding
<form id="aspnetform" enctype="multipart/form-data"....>
on top of my form. I removed this enctype from the firebug and tested my code it worked fine, textfield value get passed. Is there any way I can remove this enctype as it is getting added on its own.
Or may be if there is any other better way to achieve this, I'm open to suggestions.