Display Username in Report

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 provides access to it within…

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…

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…

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…