EvoPDF/Winnovative – Adding Header, Footer, and Page Number in Existing PDF without using HtmlToPdfConverter

Adding to my previous blog post on using EvoPDF/Winnovative to convert Html to PDF, How we can add Header, Footer, and Page Number in existing PDFs.

When you look examples given by EvoPDF/Winnovative for adding Header/Footer/Page Number in existing PDF, Most of examples are with HtmlToPdfConverter. Which means example of existing PDFs and also converting URL/Html to PDF at a time.

Continue reading “EvoPDF/Winnovative – Adding Header, Footer, and Page Number in Existing PDF without using HtmlToPdfConverter”

Advertisements

EvoPDF – Merging PDFs, Editing existing PDF, and Giving internal link

You may have faced several scenarios where you need a functionality to be develop in which you need to convert html – a web page into PDF.

There are several third party dlls available for conversion from html to pdf in Asp.Net. Among those you can consider EvoPDF/Winnovative as one of the best option having large variety of functionality available. Click here for more information on EvoPDF.

You can see from the link provided above for EvoPDF, they have covered many functionalities with example and sample code. still it’s a large globe and we may find some situation for which we may need to struggle a little bit. I am sharing here few functionality which i have encountered recently and at the end everything working like a charm.

Merging PDFs

Here, we will see basic functionality to create PDF from html and merging it with some existing PDF available to generate a new merged PDF.

Continue reading “EvoPDF – Merging PDFs, Editing existing PDF, and Giving internal link”

Jquery Datatable: Implementing Load on demand Server side with PageMethod/WebMethod

Jquery Datatable is one of the best plugin which we can use in alternate of GridView.

Though there are so many examples available at https://www.datatables.net/ for sever side processing with .txt or .php as AjaxSource. But there isn’t full example on achieving Load on demand with server side processing in asp.net by using PageMethod/WebMethod.

So, if you are looking for similar solution, please walk through below sample code.

Important: Before jumping into the code, it can be beneficial if you have some knowledge of datatable terminology and parameters we send to PageMethod/WebMethod or Parameters we return from PageMethod/WebMethod.

Click here for more information on Parameters sent to the server and returned from server.

Click here for more information on Datatable Methods.

Continue reading “Jquery Datatable: Implementing Load on demand Server side with PageMethod/WebMethod”

Custom Validator: validation with ajax call

Hello/Namaste all,

Nowadays we do not like to work with postbacks and update panel, this is the time of Jquery/Javascript and Ajax.

So, sometimes we wanted to validate a form from javascript itself without doing postback by calling some method in code behind. So, today we will see how we can validate a form from javascript by doing ajax call to code behind. And what kind of difficulties we will face.

Starting with, we can use custom validator’s client side javascript function, Ajax call ($ajax() function), PageMethod/WebMethod to validate from javascript having actual logic in code behind PageMethod/WebMethod.

Continue reading “Custom Validator: validation with ajax call”

Custom Validator: Pass custom parameter to clientside validation function from code behind

Hello readers,

It is common we uses all kind of validators in our daily programming. Custom Validator is one of them and may be very interesting too.

Recently i was needed to add one Custom Validator to the page and i was needed to validate a control dynamically based on condition. so that i was needed to pass some custom parameter from code behind to clientside validation function based on which i will determine which control to validate.

Continue reading “Custom Validator: Pass custom parameter to clientside validation function from code behind”