Category Archives for .net
Generating an existing SQL Server Reporting Services (SSRS) report to a PDF via a web URL is a convenient way to distribute SSRS reports, invoices, or anything else from SSRS. This post focuses on an existing report; however, links to the basic set up for a report are included. The code to output an existing report as PDF are given and uses a ReportViewer control.
Generating barcodes in ASP.NET is pretty easy with Barcode Generator. Barcode Generator is free for non-commercial use but priced right for commercial use. If you are a commercial site, try the free version locally and, if it works for you, spring for the license. VB.NET is used below but Barcode Generator’s examples are in C#. [...]
Google Analytics integration with .NET web parts requires more planning and execution than with straight HTML. To apply dynamic event tracking to a LinkButton we can attach a function to the OnClientClick attribute of the LinkButton. First, a review of how the event tracking method is set up directly from Google: category (required) The name [...]
Unlike other form fields, ASP.NET does not have a required field validator control for checkbox. You have to roll your own with a custom field validator. Quick and easy example straight from Microsoft: Checkbox Control Custom Validator Do not forget to put the validation function name in the OnServerValidate attribute. Validation Code Not that hard, [...]
Same pop-up survey as in the Pop-up Survey with jQuery UI Dialog post except with ASP.NET (VB) this time. Pop-up Behavior Pop-up survey opens when page loads. Pop-ups on window.unload or window close are being blocked by most browsers due to abuse and overuse. Cookie is set when survey submitted or user opts out (“No, [...]