Click here to Skip to main content
15,919,778 members

Comments by Member 8557048 (Top 28 by date)

Member 8557048 26-Sep-17 3:51am View    
Hi Richard,
I am using Rotativa library
Here is the code below

string footer = "--footer-right \"Date: [date] [time]\" " + "--footer-center \"Page: [page] of [toPage]\" --footer-line --footer-font-size \"9\" --footer-spacing 5 --footer-font-name \"calibri light\"";
return new ViewAsPdf("ExporttoPDF", viewModel) { CustomSwitches = footer };
After this I am getting the exceptions like master page related or
Exit with code 1 due to network error:
like this.

Could you please help me on this?
Member 8557048 10-Jul-17 3:40am View    
In document.ready() function I have written like below
var txtShipID = "<%:Model.ShipID %>";
var txtShipItems = "<%:Model.ShipItems%>";
var lstItems = txtShipItems.split(',');
var table = "";
for (var ind = 0; ind < lstItems.length; ind++) {

var row = $('' +
'' +
'' +

'' +
'');
$('#tblShipping').append(row);
}
});

After running the code I a getting the mentioned error.' + lstItems[ind].substring(0, 3) + '' + '<%: Html.ActionLink('+lstItems[ind]+',"ReDirectToDetails", "ECU", new {' + lstItems[ind] +'}) %>' + '' + 'Delete' + '
Member 8557048 26-Aug-16 8:08am View    
Yes made it thanks for the answer
Member 8557048 23-Aug-16 3:03am View    
Yes I made it by making default of divs in hidden mode like below.
<div id="DivECSId" style="display:block;">
But its not working as expected.
Member 8557048 20-Jun-16 6:00am View    
Thank you very much George for your valuable answer.It is really helped me a lot.Earlier
I for reading 40 lakh records from different text files it took 4.5 to 5 hours.
Now its amazing it took 35 mins.

Thank you so much