In my application there are 2 grid .Using first grid(A) we can add row to second grid(B) so .I have develop first grid as a popup .
So I can edit recede from grid A and there is a command button to add record to Grid B . It is working without any issue .
But now I have another Button(Create New ) in the page which I used to reload Grid A and Grid B. When I click Create New then Load popup Grid A and click command button to add record to Grid B .It is adding two rows to Grid B(It is adding previously added record also )
see attached source code also
http://jsfiddle.net/dineshpdn/z3c73/4/
pls suggest....
So I can edit recede from grid A and there is a command button to add record to Grid B . It is working without any issue .
But now I have another Button(Create New ) in the page which I used to reload Grid A and Grid B. When I click Create New then Load popup Grid A and click command button to add record to Grid B .It is adding two rows to Grid B(It is adding previously added record also )
see attached source code also
http://jsfiddle.net/dineshpdn/z3c73/4/
pls suggest....