M
milkyway
Hello there,
I have the following code (written in Javascript) for posting of a form
on the client side:
....
var f2 = document.forms[SubmitForm];
f2.method = "post";
f2.submit();
When this goes to the server side, I tried to catch with:
public partial class Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
}
}
}
During the post, Page.IsPostBack is set to false.
What can I do to process the f2.submit() from the client side?
TIA
I have the following code (written in Javascript) for posting of a form
on the client side:
....
var f2 = document.forms[SubmitForm];
f2.method = "post";
f2.submit();
When this goes to the server side, I tried to catch with:
public partial class Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
}
}
}
During the post, Page.IsPostBack is set to false.
What can I do to process the f2.submit() from the client side?
TIA