User-1136466523 posted
Hi,
is there any way to copy existing row? so that it uses AJAX not page post back .
From your description, do you mean you want to add a table row to your existing table without the postback, right?
If so, why don’t you add an UpdatePanel in your user control, and when the button be triggered, just add the new row to your table programmatically.
when the page is reloaded it shows a initial single row but not the rows i added.
Generally, the reason of the issue is that the table’s initialization code snippet has been re-executed while page’s post back occurs. You need to use IsPostBack property to neglect those codes to avoid the table’s re-initializing.
Thanks.