Posted in August 2011

Exporting Dataview WebPart data into Excel using Javascript

Use following JS to export Dataview Webpart data in a excel sheet. // JS SCRIPT <Script Language=”Javascript”>  function isIE()  // Function to Determine IE or Not  { return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);  }  function exportToExcel()  {  var isIEBrowser = isIE();  if(isIEBrowser== false)  {  // This script works for IE. If browser is not IE throw alert  … Continue reading