.net dataprocessor saving form data

I want to save form data with .net dhtmlconnector.
The ContactManager example
[url]Start DHTMLX Docs
works with php:

var dpf = new dataProcessor("xml/contact_details.php"); dpf.init(contactForm);
I replaced this with:

var dpf = new dataProcessor("formConnector.ashx"); dpf.init(contactForm);
The population of this form works well with:

contactsGrid.attachEvent("onRowSelect", function(rID,cInd){ contactForm.load("formConnector.ashx?id="+rID); });
but saving doesn’t work.
Source of formConnector.ashx.cs:

public class formConnector : dhtmlxRequestHandler { public override IdhtmlxConnector CreateConnector(HttpContext context) { return new dhtmlxFormConnector( "contact", "fname, lname, email, phone_1, phone_2, homepage, skype", "contact_id", dhtmlxDatabaseAdapterType.SqlServer2005, "Data Source=..." ); } }
What is wrong?

Does server returns error when you trying to save changes? if so, what error description is?

It seems that the server gets no data.

I’ve found the solution.
The OnButtonClick event from the contact details form is missing in the example code
http://docs.dhtmlx.com/doku.php?id=tutorials:dhtmlx_today:contact_manager:

contactForm.attachEvent("onButtonClick", function(name, command){ dpf.sendData(); });