New to Telerik UI for ASP.NET MVCStart a free 30-day trial

Telerik ASP.NET MVC Prompt Library

Welcome to the Telerik ASP.NET MVC Prompt Library.

The prompts provided here are intended and optimized for use with the Telerik ASP.NET MVC AI Coding Assistant MCP Server. They can help you kick start your app development and speed up the component configuration process.

This collection of prompts is not exhaustive and the Telerik ASP.NET MVC team is constantly working on adding more prompts to the library.

Go straight to the prompts ⬇️

How to Use the Prompts

All prompts in this library target the MCP Server through the #telerik-aspnetmvc-assistant handle. Make sure that you have installed and enabled the Telerik ASP.NET MVC HtmlHelpers MCP Server before attempting to run the prompts.

  1. Browse the prompt library to find a prompt that suits your needs.
  2. Copy the prompt text (including the #telerik-aspnetmvc-assistant handle, based on the used HtmlHelper synax).
  3. (Optional) Customize the prompt as needed for your specific use case but keep the #telerik-aspnetmvc-assistant handle.
    When modifying the prompts, make sure the changes comply with the intended use and the recommendations for the AI Coding Assistant.
  4. Run the prompt against the MCP Server.

Always double-check the code and solutions proposed by any AI-powered tool before applying them to your project.

Component-Specific Prompts

This section provides prompt ideas for the most popular and complex Telerik UI for ASP.NET MVC components.

Grid

The Telerik UI for ASP.NET MVC Grid lets you create responsive, accessible, and customizable ASP.NET MVC applications that require the displaying and management of large datasets.

prompt
#telerik-aspnetmvc-assistant Create a basic Grid component that displays employee data with columns for ID, Name, Position, and Salary. Include sorting and pagination functionality.
prompt
#telerik-aspnetmvc-assistant Implement a Grid with filter row functionality. Show how to set up default filter operators for text, numeric, and date columns.
prompt
#telerik-aspnetmvc-assistant Add Excel and PDF export functionality to a Grid.
prompt
#telerik-aspnetmvc-assistant Set up a Grid with virtual scrolling to handle large datasets efficiently.
prompt
#telerik-aspnetmvc-assistant Create a Grid that bind to a Model and has 3 columns: Name, Age, Status, and StartDate. The Name column must use a client template with the Name and Age values. The StartDate column must be displayed in format "dd/MM/yyyy". The Status column must display "Active" if its value is "true" and "Inactive" if its value is "false".

Charts

The Telerik UI for ASP.NET MVC Charts provide a comprehensive charting solution for data visualization with multiple chart types and customization options.

prompt
#telerik-aspnetmvc-assistant Create a basic Chart that displays quarterly sales data. Use a column series bound to Sales, with categories bound to Quarter. Add a title and legend.
prompt
#telerik-aspnetmvc-assistant Create a Chart with two line series, one bound to Revenue and the other bound to Expenses. Categories must be the months. Show a legend and a title.
prompt
#telerik-aspnetmvc-assistant Create a Pie Chart that displays market share data. The series must be bound to Value and categorized by Company. Show labels with percentages.
prompt
#telerik-aspnetmvc-assistant Create a Donut Chart to display budget allocation by Department. Series bound to Amount, category Department. Show labels with percentages inside.
prompt
#telerik-aspnetmvc-assistant Create a Scatter Chart that plots Age versus Income from a Population model. X axis numeric Age, Y axis numeric Income.

DatePicker

The Telerik UI for ASP.NET MVC DatePicker component allows users to select dates from a calendar pop-up or by typing in a date input field. It supports features such as date formatting, validation, min/max date restrictions, and integration with forms.

prompt
#telerik-aspnetmvc-assistant Create a DatePicker named birthDate with format MM/dd/yyyy.
prompt
#telerik-aspnetmvc-assistant Create a DateRangePicker named orderRange with start and end inputs. Use format MM/dd/yyyy and show week numbers.
prompt
#telerik-aspnetmvc-assistant Create a DateTimePicker named meetingDate with format MM/dd/yyyy hh:mm tt and 30-minute intervals.

Form

The Telerik UI for ASP.NET MVC Form provides a variety of built-in options and features to generate and manage forms in your application.

prompt
#telerik-aspnetmvc-assistant Create a Form with grid layout of 2 columns and gutter 20. Items: FirstName, LastName, Email, Phone as TextBoxes. Enable validation summary.
prompt
#telerik-aspnetmvc-assistant Create a Form bound to RegisterViewModel with fields Username, Password, ConfirmPassword, and Email. Add validation with custom error messages and a Submit button.
prompt
#telerik-aspnetmvc-assistant Create a Form with DropDownList Country, DatePicker BirthDate, and NumericTextBox Age. Enable validation and add a Submit button styled as primary.

See Also