nilthakkar.blogspot.com
Nilesh Thakker: May 2013
http://nilthakkar.blogspot.com/2013_05_01_archive.html
A net developer's blog. Saturday, May 11, 2013. Jquery Multiselect plugin retain selection on postback in Asp.net. One can use Jquery Mutiselect. Plugin to allow user to select multiple items from the options available in dropdown. When we click on dropdown it looks something like below :. Check out the demo page of plugin here. Now let’s look at the code to bind the dropdown with plugin and retaining value on postback. Make sure you’ve necessary scripts and css files added in your page:. Link href="CSS/...
nilthakkar.blogspot.com
Nilesh Thakker: Visual Studio Macros and Build Events
http://nilthakkar.blogspot.com/2013/04/visual-studio-macros-and-build-events.html
A net developer's blog. Sunday, April 14, 2013. Visual Studio Macros and Build Events. Visual studio has a nifty feature called Post/Pre Build events. These are used to include extra Dos commands and Macros and execute them before or after build. You can open it using project properties. And it will open dialog as shown below:. For post-build events you can define when to run commands included as shown in below snap:. You can click the respective Edit build buttons and it will open popup as shown below:.
nilthakkar.blogspot.com
Nilesh Thakker: March 2012
http://nilthakkar.blogspot.com/2012_03_01_archive.html
A net developer's blog. Sunday, March 4, 2012. Edit, share, execute and debug code within browser - make a fiddle. Many times we want to execute some ideas with JavaScript/Jquery and CSS to see whether we are on the right track? We want to share HTML, CSS and JavaScript/Jquery code with others and allow them to run it, specially on the forums. If so, make a fiddle. It not only solves problem of sharing but also #9 mentioned in Mike’s post here. An online editor for web snippets. Save to get a public URL.
nilthakkar.blogspot.com
Nilesh Thakker: April 2013
http://nilthakkar.blogspot.com/2013_04_01_archive.html
A net developer's blog. Sunday, April 14, 2013. Visual Studio Macros and Build Events. Visual studio has a nifty feature called Post/Pre Build events. These are used to include extra Dos commands and Macros and execute them before or after build. You can open it using project properties. And it will open dialog as shown below:. For post-build events you can define when to run commands included as shown in below snap:. You can click the respective Edit build buttons and it will open popup as shown below:.
encosia.com
Simplify ASP.NET AJAX client-side initialization | Encosia
http://encosia.com/2007/08/01/simplify-aspnet-ajax-client-side-page-initialization
Simplify ASP.NET AJAX client-side initialization. Updated March 24, 2009. I recently found myself needing to perform a bit of client-side page initialization, both on initial page load. When partial postbacks completed. I muddled through by using window.OnLoad() for the initial page load and an EndRequest handler for partial postbacks. It worked, but I wasn’t very happy with the kludgey nature of it. On an unrelated ASP.NET forums thread around the same time, Steve Marx. If you dig for it:. Any JavaScrip...
nilthakkar.blogspot.com
Nilesh Thakker: iTextSharp–Add watermark to PDF
http://nilthakkar.blogspot.com/2013/12/itextsharpadd-watermark-to-pdf.html
A net developer's blog. Tuesday, December 31, 2013. ITextSharp–Add watermark to PDF. In last post iTextSharp–Add header/footer to PDF. We saw how to create pdf with header/footer. To add watermark to pdf, you need to create a class that implement IPdfPageEvent. As shown in below code:. Now let’s see how to add watermark using above class:. PdfWriter pdfWriter = PdfWriter.GetInstance(pdfDoc, msReport); pdfWriter.PageEvent = new PdfWriterEvents("Testing");. I hope it helps! Posted by Nilesh Thakker.
nilthakkar.blogspot.com
Nilesh Thakker: Jquery DataTables : Add column filter and remove global filter
http://nilthakkar.blogspot.com/2014/01/jquery-datatables-add-column-filter-and.html
A net developer's blog. Wednesday, January 15, 2014. Jquery DataTables : Add column filter and remove global filter. Plugin allows you to search through all the columns and it works pretty well. Now if you wan to add column wise filter, you need to use JQuery DataTables Column Filter plugin. To extend Jquery DataTables with Column Filter plugin, you need to have code like below:. Asp:Repeater ID="repUserTempAssignment" runat="server" DataSourceID="SqlDataSource1" EnableViewState="false" HeaderTemplate ta...
nilthakkar.blogspot.com
Nilesh Thakker: December 2013
http://nilthakkar.blogspot.com/2013_12_01_archive.html
A net developer's blog. Tuesday, December 31, 2013. ITextSharp–Add watermark to PDF. In last post iTextSharp–Add header/footer to PDF. We saw how to create pdf with header/footer. To add watermark to pdf, you need to create a class that implement IPdfPageEvent. As shown in below code:. Now let’s see how to add watermark using above class:. PdfWriter pdfWriter = PdfWriter.GetInstance(pdfDoc, msReport); pdfWriter.PageEvent = new PdfWriterEvents("Testing");. I hope it helps! Posted by Nilesh Thakker.
nilthakkar.blogspot.com
Nilesh Thakker: November 2013
http://nilthakkar.blogspot.com/2013_11_01_archive.html
A net developer's blog. Saturday, November 30, 2013. ITextSharp–Add header/footer to PDF. It’s a common requirement to have header/footer on PDF and it could be achieved using PageEvents in iTextSharp. It depends on the requirement, but in general header may contain:. And footer may contain:. Check out below function that creates sample PDF having five pages with header and footer:. Below line assigns object of ItextEvent class that extends PdfPageEventHelper. As you can see that above class has Header.