Display Username in Report

Please see my other Telerik report articles. Display Current Windows Username In this article I’ll demonstrate how to display the Windows username of the current user of a report. I’ll start by using the report’s ReportParameter’s editor to add a single Parameter “UserName”. This addition not only is required to display the property in the report, but…

Dropdown with Custom Date Format

Apply a Custom Date Format to a Dropdown In this article, I’ll demonstrate how to apply a custom format to a date within a dropdown.I’ll begin with a View Model containing my date property. Next, I call my controller action for DataSource.Read() – see my other Telerik articles (link) for an example. The important update…

Telerik: Dropdown Filter on Multiple Columns

Dropdown Filter on Multiple Columns In my Telerik: Dropdown with Template article (link), I demonstrated how to configure a dropdown to display choices with multiple columns. The dropdown provides a powerful and intuitive filter feature which by default allows the user to filter choices based on what they type into the filter textbox. In this…

SSRS: Conditional Background Colors

Configuring Background Colors Based on Multiple Factors In this article I’ll demonstrate how to change the background color of cells based on multiple conditions. First, I’ll start with a series of currency values. As you can see, the values will vary widely. The user of this report will receive many pages with these types of…

MVC: Custom Model Validation

Please see my other MVC articles. Using Custom Validation on Model Properties While ASP.NET MVC provides powerful native validation, some requirements require custom routines to ensure certain model data is valid. In this artilce I’ll demonstrate how to configure a model for custom validation and provide a simple example function. First, I’ll decorate the model…

MVC: Links to External Sites

Please see my other MVC articles. Display External Links within a View Sometimes within a View, a requirement dictates the use of links to sites external to the current project. Since Html.ActionLink() doesn’t allow for a target to an external site, I satisfied the requirement using the following approach. First, I stored with each record…

SQL Server: Maintenance Plan

Please see my other Database Development articles. Ensure successful disaster recovery for databases This section describes steps taken for database to backup data in preparation for a disaster. Recovery Model Of the three recovery models provided by SQL Server for its databases (Full, Simple, Bulk), the Full recovery model was chosen for its ability to…

SQL Server: Disaster Recovery

Please see my other Database Development articles. Ensuring Recovery from a Disaster This section describes how to recover data lost due to a disaster. As described in the last section, each database regularly performs the following backup types: Full: A complete copy of the database at a point in time. This occurs once a week.…

Telerik: Grid-Editor Template

Please see my other Telerik articles. Customizing an input field within a grid In this article I’ll demonstrate how to customize a grid’s input field. Within the grid I have a field: FederalTaxID. A requirement was added to enforce this field’s unique format and provide the user a helpful hint as the enter data. First,…