MVC: Custom Model Validation

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 property with an attribute of the…

MVC: Links to External Sites

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 needing an external link the link…

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…

Telerik: Dropdown with Template

Please see my other Telerik articles. Displaying dropdown choices with special formatting In this article I’ll demonstrate how to create a Telerik dropdown using templates to display data in a tabular format. First, I’ll create a ViewModel to serve as the data layer. Note: Ensure you’ve decorated the CustomerID property with the [Key] attribute or…

Telerik UI for ASP.NET MVC

Please see my other Web articles. This page demonstrates some of Telerik’s impressive suite of rich controls designed to empower users, increase productivity and streamline business processes.   Telerik UI for ASP.NET MVC Display Dynamic Instructions Dropdown Filter on Multiple Columns Dropdown with Template Grid-Dropdown Column Filter Grid-Display Success/Failure Notification Grid-Dropdown Grid-Editor Template

Model-View-Controller (MVC)

Please see my other Web articles.   MODEL-VIEW-CONTROLLER (MVC) 4 Accessing Form Values ADO.NET Entity Data Model Action Methods using GET & POST Action Methods with Parameters Bundles Displaying Data Source Records Providing an Input Form Using CSS Classes with Textboxes C.R.U.D. Operations Class Diagram – Building a Class ContentResult Customized Grid Custom Model Custom…

Web Development

Since the browser replaced the traditional software client as the primary consumer of logic-intensive applications and content, web development remains one of the most critical tech-skills within organizations. The following pages demonstrate my skills within programming-both client and server side, as well as crucial concepts for delivering highly robust and maintainable applications: Object-oriented Programming (OOP)…

MVC: Conditionally Display View link

Please see my other MVC article. Displaying Links Based on IF Logic This article illustrates how to conditionally display a link within an MVC based on the results of an IF statement As you can see in my View’s HTML, I am displaying a “Home” link and then, if the current user is part of…