How to save a record from client side.

Hi,

I created a dll based page which calls a screen containing a bunch of fields for my custom entity. On this page a user can type in an ID to my serial number field. -> that will trigger a javascript function which will use Ajax in order to automatically populate the rest of the fields on the page.

The problem is, how can i save this record?

At the moment my dll based page is using the following constructor :

public myAircraftAjaxEdit()
: base("Aircraft", "", "AircraftNewEntryForOpportunity")
{

}

If this is only doable with asp based pages then thats not a problem.

Any comments or suggestion are welcome. Thank you.

  • 0

    Hi,

    On new screen, values we enter in the fields gets saved to database as soon as user hits save button provided all entries are valid. Hence, once you get values from your ajax code, just assign those values to respective fields added on the screen. This should save the record on clicking save button.

    Hope this helps!

    Regards,
    Dinesh