ASP.Net C# Override Render event to get and manipulate page content before it's rendered
Here's an easy way to intercept the content that an ASP.Net page is going to render and send back to the browser. protected override...
Here's an easy way to intercept the content that an ASP.Net page is going to render and send back to the browser. protected override...
Recently I posted about Accessing Master Page Controls from Content Pages . This same technique can be used to create an AutoFocus property...
I'm a big fan of using "base" classes. If I'm working with an ASP.Net web project, I have a BasePage class that all conten...
Ever needed to intercept the ASP.Net postback event from the client-side using javascript so you can override or customize something? Here...
This is a pretty simple task, but one I use frequently. Often times I have controls in my master page that I want to access or somehow contr...
If you ever need to get the base domain and application path of your web application, here is a BasePage property that I use regularly. Co...
If you ever need to work out, at runtime, what columns a stored procedure is going to return, SQL Server has a dynamic management function f...
In most of my designs there is at minimum a Master page, and several Content pages that use the Master page and inherit from a BasePage . ...
Here are 3 simple DowloadFile methods to use in your ASP.Net C# base page or utilities class to simplify and standardize providing a file d...
Here's a simple way to create a temporary debug panel within your ASP.Net web application if you need to output values for debugging and...
Here is another extension method I use frequently to recursively find all controls (optionally of a certain type) on the page or within a pa...
Update, and please read this before using the code below. iTextSharp is end of life. iText's own repository now carries a DEPRECATED no...
Ever needed to get the Description attribute from an enum in C#? Here's an easy way to do it generically with an extension method. En...
Here is an extension method to see if a string starts with a value, and it's case insensitive. There's also an overloaded version o...
Here is another simple extension method to see if a string contains a value, and it's case insensitive. There's also an overloaded ...
A few days ago I posted ASP.Net C# Extension Method to compare string values (case insensitive) , which is a simple extension method to com...
A while back I posted Events in ASP.NET Master and Content Pages , regarding the sequence in which events occur when a master page is merge...
Here are 2 more extension methods that are simple enough, but I use on a daily basis to keep code clean and simple. I prefer to use these me...
Here's another extension method that's part of my standard extension library. It simply selects an item in a DropDownList . Why both...
A simple extension method to compare string values without having to worry about case sensitivity. Code: public static bool IsEqual(thi...