Jaya Prakash

Jaya Prakash

  • 1.1k
  • 1.3k
  • 18.5k

how to Export Modal Popup Data into the Pdf or doc

Mar 21 2023 7:29 AM

i can able to print the modal popup data i dont want this when i click on export button  directly downld to either pdf or doc format how to do it

this is my code for print written in js

<script  language="javascript">

    function CallPrint(strid) {
        var conTent = document.getElementById(strid);
        var winprint = (window.open(",", 'left=0,top=0,width=1,height=1,toolbar=0,scrollbar=0,starts=0'));
        conTent.innerHTML = stroldone;
<div id="divPrint">
    <asp:Button ID="btnDwnld" runat="server" Text="Export" OnClientClick="javascript:CallPrint('divPrint');" />


Answers (1)