Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Popular Posts


2008 2008 Express Add AFTER alert Alias Aliases Alter Alternating And ASC Assist BETA Blog Cancel Check ON Checkbox Checkbox Group Color Column Columns Combo Box Composite Confirm Confirm Message Control CREATE CREATE TABLE Data Data Springs Database DDL DELETE Delete Confirm Demo Demonstration DESC Direct Access DNN DotNetNuke Drop Drop Constratint Drop Down Drop Down List DS Dynamic Dynamic Blog Dynamic Forms Dynamic Registration Dynamic Views Edit Event Example Express Fade In Fade Out Field Filters FK Forms Full-Table Scan Generating Generator Generators Great Ideas Group Help HTML Increase Index Indexes Input Integrity jQuery Label Listbox Listener Message Modify My Account MySQL No NULL Often Ok ON Optimization Optimize Option Options Oracle Order By Perform Performance PK Popup PostreSQL Queries Query QuestionOptionValue Radio Button Radio Button Group References referential Round Script Search Search Filters SearchOption SearchOptionValue Select Server Snippet Sort Springs SQL SQL Driven SQL Driven Query SQL Express SQL Server SQL Server 2005 SQL Server 2008 SQL Server 2008 Express SQL Server 2008 R2 SQL Server Express SSMS Stored Stored Procedure TABLE Tables Temporary Tool Tools Tooltip Tooltips Transact-SQL Trials Triggers TSQL T-SQL Unique UPDATE Use Useful Views Widget Widgets Window Yes [userimage] 10 64 bit Ability ABS Action Active Forums Alleviate Alternating Colors Alternating Rows Analytics ARB validation AuthARB Authorize.NET Avoid Back Button Basecamp Blog Blog Posts Blogging Browser Browser Back Browser Close Browser History Browser Script Button cascading style sheet Case Char Character CharAt CharAt() Check chip levinson Click client side validation Close Browser Close Window Collection 5.0 Comment Compatibility Compatible Completion completion event Confirm Message Conform Constraints content localization Count Timer Countdown CRM css csv Cursor Custom Custom HTML Custom JavaScript Custom JavaScript File customer feedback Customize Data Data Integrity Data Springs Data Springs Blog Data Springs Collection Data Springs Development Data Springs Planning Data Springs Training Databases DataSprings Date Time JavaScript Debug Info default value Delete Demonstration DF DNN DNN Authentication DNN Blog DNN Core Profile Property dnn html module dnn modules dnn schedule error dnn schedule multiple DNN Store document document.getElementById DotNetNuke dotnetnuke 5.4.4 DotNetNuke Analytics DotNetNuke Forums DotNetNuke JavaScript DotNetNuke Modules dotnetnuke reporting dotnetnuke scheduler dotnetnuke user image Double Double Quotes DR DROP Drop Constraint DropDown Login DS dynamic Dynamic Data dynamic fields Dynamic Form Dynamic Forms dynamic forms silent post Dynamic Forms Tutorial dynamic login Dynamic PDF Form Completion Event dynamic registration dynamic registration silent post dynamic registration user image dynamic user directory dynamic views DynamicRegistration_Question DynamicRegistration_QuestionResponse email email issues Encapsulated Encapsulation Even Event Event Viewer Example Excel Execute Export Export to Excel Facebook Facebook Connect Field FieldID First FirstName Fix Foreign Key Form Form Post Formatting Forms Forum Flow Full Table Scan Fully Function Google Analytics Google Analytics Ecommerce Great Great ideas Grid guides hidden field Hide Show Rows Highrise Highrise API Hourly Services HTML HTTP Post iDeal IE IE 10 Image Image Button Include Inconsistancy Info Information Injection INSERT Integration Interactive User Import Interface internet Internet Explorer iPAD iPAD App for Highrise iPAD Highrise App Items JavaScript JavaScript hide show JS Function Layout Lead Generation Learn Left Left Quote Link LinkedIn list import Live Blog localization Log Logic Login login module login skin object Loop Mandeeps Match Message Microsoft Live Writer module configuration Modules Monthly Services Name Netherlands New News Blog NL NOT NULL oAuth2 Odd OnClick Open Web Studio opt in email OWS Part 1 Part 2 Passed payment gateway paypal Phone Number Placement Post Postback Posts Premium Integration Premium Services Premium Support Primary Key Procedure Products profile Quarterly Services Question question fields Question Loop Question Value QuestionOption Quick Quotes Recommend Recommendation Recurring Billing Redirect Referential Integrity registration Rendered Replace replace html text report views reports Resolution Resource resource files resx Retrieve Retrieving Right Right Quote Rows Ryan Bakerink Sales Force SalesForce Script Scripting Scripts Sequential Access server side validation Silent Post Single Single Quotes Single Sign On skin object Snowcovered Solution sp Springs SQL sql 2005 pivot sql default value SQL Example sql import SQL Injection sql query sql replace statement sql reports SQL Server sql server 2005 SSL SSO stored stored procedure String style sheet stylesheet Submit Submit Button Submit Image Submit Link success story Suggest Suggestion Support Syntax Table technical techwise research Temp test credit card numbers testimonial Text/HTML thumbnail image Time Timer Tip Token Topic Transaction Trial Trigger TSQL T-SQL Tutorial Twitter Types of Constraints Unique Update Highrise user user directory user profile image users online Variable View Web Based Work Around writer writing xls xlsx XML

In the Flow


Data Springs, Inc. - An online diary and web log from staff and customers for premium DotNetNuke resources, Data Springs Modules, and Data Springs Services.

Useful PDF Completion Event extras using Dynamic Forms & Dynamic Registration for DotNetNuke

Having the ability to generate PDF documents from within Dynamic Forms and Dynamic Registration has always been a very powerful feature. In most cases you will have all that you need to create a great looking document right out of the box. However there are times where you need a bit more refinement before you get it just right for your SPEC. In this post I will outline some useful tips on how to get your Dynamic PDF exactly where you want it. In order to use any or all of these in your own completion event, simply append the event name with the terms in quotes below.  For example: If your PDF Completion Event Name = “MyPDF” and you needed your document to auto size; you would change the name to “AutoSize_MyPDF”. That’s all there is to it!

If your Completion event name contains the term "LandScape", the pdf orientation will be changed to landscape. Default is Portrait.
    This sets the specific pdf creator function below:
        pdfConverter.PdfDocumentOptions.PdfPageOrientation = ExpertPdf.HtmlToPdf.PDFPageOrientation.Landscape
If your Completion event name contains the term "Stretch", the pdf inner document element will be stretched to fit the default pdf page size (8.5" x 11" Letter). The default value is False.
    This sets the specific pdf creator function below:
        pdfConverter.PdfDocumentOptions.StretchToFit = True

If your Completion event name contains the term "FitWidth", the pdf inner document element will be resized to fit the default pdf page width (8.5" for Letter or Legal) regardless of the height. The default value is False.
    This sets the specific pdf creator function below:
        pdfConverter.PdfDocumentOptions.FitWidth = True

If your Completion event name contains the term "AutoSize", the pdf page size will auto adjust based on the fixed sized declared for the inner html of your template. For instance if you set an outer div within your PDF template measuring 612px wide by 796px high you would get 8.5" x 11" for a page size. 612px wide by 1008px high would equal 8.5" x 14" Legal paper size @72 DPI. You can easily find the pixel equivalent for any page size by multiplying inches by DPI. For example:

  • 8.5" x 11" @300 DPI would be
    • 300*8.5=2550px
    • 300*11=3300px

whereas the same dimension page

  • 8.5" x 11" @72 DPI would be
    • 72*8.5=612px
    • 72*11=796px.

The default value is False.
    This sets the specific pdf creator function below:
                pdfConverter.PdfDocumentOptions.AutoSizePdfPage = True

If your Completion event name contains the term "ScriptsEnabled", the pdf will now include any JavaScript contained within the inner html. The default value is False
    This sets the specific pdf creator function below:
        pdfConverter.ScriptsEnabled = True


Closing notes are sourced from and touch on setting dedicated page breaks and keeping images from being split between two pages.

The HTML to PDF converter supports custom page breaks with standard CSS styles like page-break-before:always and page-break-after:always applied to any HTML object. The page-break-inside:avoid style can be applied to a element to prevent splitting the content inside the element between pages.

To specify to the converter to not break (keep together on the same page) a HTML region between PDF pages you can apply inline the page-break-inside:avoid CSS style to the HTML element you want to keep appear in the rendered PDF document on same page. Of course the element height must be less than the page height, otherwise the style will be ignored by the converter. Please note that unlike the page-break-before and page-break-after , the page-break-inside:avoid style must be specified inline as in the example below:

    <tr style="page-break-inside : avoid">
            <img width="100" height="100" src="img1.jpg">
        <td>My text 1td>
    <tr style="page-break-inside : avoid">
            <img width="100" height="100" src="img2.jpg">
        <td>My text 2td>

In this example the table can contain a large number of rows, each row containing an image in the left and a text in the right and we don't want such a row to span on two pages. This can be easily achieved by specifying the page-break-inside:avoid style inline for the table row. You can also set the page-break-inside:avoid CSS style inline on the IMG tag to achieve the same result.

I hope this helps some of you get that last bit of fine tuning needed to knock your project out of the park!

The Data Springs Module Suite uses ExpertPDF to handle the PDF creation features. Some of the information above was sourced directly from

Comments are closed.

Recent Comments


Join our mailing list...

Get current news and events the easy way
Subscribe Me

Recent Blogs...

Copyright 2005 - 2011 by Data Springs, Inc.
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi