Dec 20, 2012, 11:38 AM
Submit form by parameter
Hi, i need to send all form by parameter in a ext.net.DirectMethod and I cant do it.
From client side I have the followin sentence
Ext.net.DirectMethod.request('process', {
url: 'frmDynamic.aspx',
params: {
operation: 'Save', sender:this.frm_abm; <--- this is the parameter who I need to send on it the entire form
}
});
and in the server side I have this method
[Ext.Net.DirectMethod()]
public void process(string operation,object sender) <--- here I want to recieve all the form from client side
{
}
Can someone help me?
Thanks.
Jhonn from Argentina
From client side I have the followin sentence
Ext.net.DirectMethod.request('process', {
url: 'frmDynamic.aspx',
params: {
operation: 'Save', sender:this.frm_abm; <--- this is the parameter who I need to send on it the entire form
}
});
and in the server side I have this method
[Ext.Net.DirectMethod()]
public void process(string operation,object sender) <--- here I want to recieve all the form from client side
{
}
Can someone help me?
Thanks.
Jhonn from Argentina