andre72
asked on
Add record to a database without postback
Hi,
I need a good idea how to do something like this:
I've to add new entries to a database using a web interface.
The "Add" button is outside the input fields in a footer of the page so I can't do anything in one updatepanel (customer like to have so).
So it would look like this:
Header
-------------------------- ---------
M | Input1
E | Input2
N | Input3
U | Input4
-------------------------- ---------
Add
I like to only let the main part of the side refresh after a "Add" and start again with empt fields.
My only idea how to do is to parse the input fields with javascript, submit the data and send a refresh to a updatepanel container of the input fields.
Is there any easier way how to do?
Thanks,
Andre
I need a good idea how to do something like this:
I've to add new entries to a database using a web interface.
The "Add" button is outside the input fields in a footer of the page so I can't do anything in one updatepanel (customer like to have so).
So it would look like this:
Header
--------------------------
M | Input1
E | Input2
N | Input3
U | Input4
--------------------------
Add
I like to only let the main part of the side refresh after a "Add" and start again with empt fields.
My only idea how to do is to parse the input fields with javascript, submit the data and send a refresh to a updatepanel container of the input fields.
Is there any easier way how to do?
Thanks,
Andre
ASKER
Do you have a how to for me please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can do that by using pure AJAX.
Try that.