Wednesday, July 21, 2010

fixed ExpertPDF caching my pdf.css file

This drove me nuts so I was one happy camper when I figured out what was happening!

I appended a "?ver=<%= DateTime.Now.ToString() %>" to the link tag href value.

<link id="lnkPdfStylesheet" runat="server" href="/css/pdf.css" rel="stylesheet" type="text/css" media="all" />


ExpertPDF and Caching of URLs

No comments: