Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two textbox in the form one is for patientid then another one is for Amount and also i have one gridview. That gridview contains 3 columns: first column is Checkbox,second column is TestName,third column is amount...

Now i booking the new patient by following steps:

1.Enter patient id in the first textbox
2.Which test need to take we should check the checkbox in that gridview. when i check the checkbox it will display the corresponding test amount in that another textbox.
if i check another checkbox in that gridview the amount add like existing checked test amount + newly checked test amount. It is the process in this form...

i used jquery with javascript to checking the checkbox...

now it is working fine... but when i need to update the existing patient its not working

Help me..
Posted
Comments
Without code, it is impossible to guess the problem.

1 solution

You can trigger postback using __doPostBack function.
Refer

dopostback-function-in-javascript.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900