javascript - Copy GridView to Another GridView on client (also ListViews) -


i have project collecting information on multiple tabs in asp.net web application. using microsoft ajax toolkit support tabs. once information collected, have included "review" tab summarizes information on other tabs.

i started using updatepanel, found processing took far long, on order of 5-10 seconds when hosted on development workstation , on our web server.

i moved using straight javascript on client side copy data 3 other tabs review tab success when handling text boxes , drop down lists. however, have 1 gridview containing text data , 1 listview containing photos need copied review panel.

i have been unsuccessful in copying data new controls added hold data. when saving record, extracting data original tabs (which working well), don't need gridview , listview on review panels functional, data access perspective; controls need display data.

1 step- encapsulate areas need copy in div.

2 step- create function extract html of div , pasting destination like

function printdiv(sourcediv,destinationdiv) { document.getelementbyid(destinationdiv).innerhtml== document.getelementbyid(sourcediv).innerhtml;  } 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -