Profile

Cover photo
sunil mittal
95 followers|9,943 views
AboutPostsPhotosVideos

Stream

sunil mittal

Questions  - 
 
I am having issues in Multipage Print  with JavaScript and CSS
Below :
Below is the link of Js Fiddle :
https://jsfiddle.net/sunilmittal22/z4sk8y9z/

When I print this (IE or Firefox),The Tfoot gets repeated on each page , so in case of multi page report , I was expecting that I  can get the exact page no for that report if  page gets incremented by 1 each time tfoot gets repeated by 1. but this is not happening. It gets incremented by 1 only once per table.

I have tried detecting the page breaks by counting the rows and add page nos per report . But this fails for different printers and with different report. as reports are dynamic in nature. If some one can help me on this. 

Sample HTML for reference:
<table> <thead style="display: table-header-group;"> <tr> <th>Report Specific Header Contents which needs to come on every page we are displaying report</th> </tr> </thead> <tbody style="display: table-row-group;"> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> <tr> <td>Some Data</td> </tr> </tbody> <tfoot style="display: table-footer-group;"> <tr> <td class="footer"> </td> </tr> </tfoot> </table> <div class="rowLabel3" style="page-break-after:always;">*** END OF REPORT *</div> <table> <thead style="display: table-header-group;"> <tr> <th>Report Specific Header Contents which needs to come on every page we are displaying report</th> </tr> </thead> <tbody style="display: table-row-group;"> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> <tr> <td>Some Data1</td> </tr> </tbody> <tfoot style="display: table-footer-group;"> <tr> <td class="footer"> </td> </tr> </tfoot> </table> <div class="rowLabel3" style="page-break-after:always;">*** END OF REPORT *</div>

Sample CSS
​<style type="text/css"> body { counter-reset: report 1 page 0; } td.footer:after { counter-increment: page; content: "Page " counter(page)" of Report " counter(report); } .rowLabel3 { counter-reset: page 0; counter-increment: report } </style>
1
Andreas Jung's profile photosunil mittal's profile photo
2 comments
 
My apologies , let me do a jsfiddle
Add a comment...

sunil mittal

Discussion  - 
 
I am using DNN 6.2.6, Web Site running on a dedicated windows 2008 R2 server with multiple processors . Sometimes site gets slow under heavy load.  I went to App Pool and increased the maximum worker processes from 1 to 10. After doing this,  WebSite Started behaving erratically, I have custom modules which uses session values like SessionID, started behaving erratically. 
I checked and found that DotNetNuke does not work well under webGarden Scenario : http://www.dotnetnuke.com/Resources/Wiki/Page/Webgardens.aspx.

Is there a way of any third party session state provider which allows me to do this.

 Thanks in Advance.
1
1
Erik van Ballegoij's profile photoJohnny Gregory's profile photo
 
No. DNN does not support webgardens at all. As an alternative you can look at setting up a webfarm. 
Add a comment...
Have him in circles
95 people
Antony Arp's profile photo
sijuthomasp's profile photo
Craig Ross's profile photo
K. Scott Allen's profile photo
shezad gilani's profile photo
Abhishek Singh's profile photo
Brasileiro Tiago's profile photo
Nitin Randive's profile photo
nitin uchibagale's profile photo

sunil mittal

Discussion  - 
 
Hi Guys , I am using DotNetNuke 6.2.6 , and recently got stuck in one issue , I do not want my users to receive random password after they reset their password (forgot password), Instead I want to send them password reset link. I could not find any settings under Web.Config or under host settings. I did some research but the articles I found that referred to DNN7 .
1
Chris Hammond's profile photosunil mittal's profile photo
2 comments
 
:(  Thanks Chris for your help , I will see if I can upgrade
Add a comment...

sunil mittal

Discussion  - 
 
Hi , I am using DNN 6.2.6, and as per the requirement I need to create custom registration page , I have created all the custom profile fields and they are properly showing on registration page. But , for some profile fields user must be able to select more then one values. I tried with list, checkboxes with no success , If any one have any suggestion ? It will be very helpful to me . Thanks in Advance.
1
Chris Hammond's profile photosunil mittal's profile photo
2 comments
 
Thanks Chris. I am looking at it.
Add a comment...
People
Have him in circles
95 people
Antony Arp's profile photo
sijuthomasp's profile photo
Craig Ross's profile photo
K. Scott Allen's profile photo
shezad gilani's profile photo
Abhishek Singh's profile photo
Brasileiro Tiago's profile photo
Nitin Randive's profile photo
nitin uchibagale's profile photo
Links
Contributor to
Basic Information
Gender
Male