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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -