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…

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,…

Telerik: Grid-Dropdown

Please see my other Telerik articles. Using dropdowns within grids In this article I’ll demonstrate how to use a dropdown within a Telerik grid. First, I’ll begin with the View Model used with CRUD operations on the grid. Regarding the first View Model, you’ll notice the UIHint decoration. This attribute instructs the website to use…

Telerik: Grid-Dropdown Column Filter

Please see my other Telerik articles. Providing a dropdown column filter In my Telerik Grid Dropdown article (link), I demonstrated how to use a dropdown within a grid column, allowing users to choose between predefined choices. However, the column’s filter method wasn’t very precise in that since the column only provided a predefined set of…

Visual Studio: Publishing Profile

Please see my other Miscellaneous articles. Configuring Visual Studio for Dynamic Changes during Publish This article describes how to use setup a publishing profile to publish the site and configure sections of the site’s configuration file to change depending on the profile chosen. For example, when publishing the site to the testing layer, the database connection…

Refactoring: Boundaries

Please see my other Object-Oriented Programming (OOP) articles. Ensuring Separation of Concerns When refactoring a web application, the following table represents a high-level overview of technologies/tools and the appropriate use of each, along with examples of how their boundaries for us may be violated. Keep in mind for each tool is intended boundary and look…

Telerik: Display Dynamic Instructions

Please see my other Telerik articles. Displaying instructions dynamically to save space In this article I’ll demonstrate how to use Telerik’s Window control to dynamically display instructions in a popup window. Using a dynamically-displayed windows allows the instructions to remain hidden until the user requires them, saving valuable screen real estate. First, I’ll define my…

AJAX: Dropdown Update Table

Please see my other AJAX articles. Using AJAX to update a table from a dropdown In this article I’ll demonstrate using AJAX to update an HTML table based on a dropdown selection. First I’ll define the ViewModel to contain data for this exercise. Next, I’ll define the dropdown to be populated. Now, I’ll populate the…