Hi all,
I am creating a table at the runtime, which contains 4 rows and every rows contains 3 textboxes and a dropdownlist box. First when the page is loaded the table creates the 4 rows. I have also used a Linkbutton for adding more row. I want when I click that link button page should not be post back and add a new row. but when i click on the linkbutton it postbacks the page and the table again created and all the data in the textboxes are lost. So please tell me what should i do and i Linkbutton is medatory. We can also use <a> instead of linkbutton.
I have created a function for adding a new row in the table, and want to call that function in a javascript function and that javascript function should be called on the OnClientClick() event of linkbutton.
I am creating a table at the runtime, which contains 4 rows and every rows contains 3 textboxes and a dropdownlist box. First when the page is loaded the table creates the 4 rows. I have also used a Linkbutton for adding more row. I want when I click that link button page should not be post back and add a new row. but when i click on the linkbutton it postbacks the page and the table again created and all the data in the textboxes are lost. So please tell me what should i do and i Linkbutton is medatory. We can also use <a> instead of linkbutton.
I have created a function for adding a new row in the table, and want to call that function in a javascript function and that javascript function should be called on the OnClientClick() event of linkbutton.
Comment