Mehul Harry's DevExpress Blog

This Blog


Mehul Harry is the DevExpress Web Program Manager. Follow him on twitter: @Mehulharry

Subscribe (RSS, Email)


Use TypeScript with DevExpress ASP.NET and MVC Controls (v16.1)

In the v16.1 release, we've added TypeScript Type Definitions for DevExpress ASP.NET WebForms and MVC controls. So now you can write your applications using TypeScript with full support for our intellisense, typechecking, and other great features of TypeScript.

A few days ago, our pull request to the DefinitelyTyped repository was accepted and our type definitions became available here: DevExpress TypeScript Type Definitions - Github.

How to get started

To use the new TypeScript support in your project, simply use one of the following options:

Option A

Install our nuget package:
DevExpress TypeScript Type Definitions - Nuget package.

This package has the latest version of our .d.ts file.

Option B

Copy the "devexpress-web.d.ts" file from our installation folder to your project. The installation folder is typically located here:

C:\Program Files (x86)\DevExpress 16.1\Components\Sources\DevExpress.Web.ASPxScriptIntelliSense\devexpress-web.d.ts

Option C

Download the "devexpress-web.d.ts" file from GitHub.

Option D

If you have the TypeScript Definition Manager installed, then use the following command:

“typings install dt~devexpress-web --global”.

Any of the above options help you to get the necessary files into your project so that you can use begin to use our Typescript definitions.


DevExpress ASP.NET TypeScript Intellisense

You can see an example of how to use typescript with our definitions here:

DevExpress TypeScript Type Definitions - Github

This .ts file is based on the Scripts.js file from our HotelBooking.Tablet demo.


Your Next Great .NET App Starts Here

Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: (free support is included during your evaluation).

Published Jul 19 2016, 02:45 PM by
Bookmark and Share



Good Work! Giving this a go and it's been pretty easy moving over some of my work to typescript.

July 20, 2016 9:08 AM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at You can also follow him on Twitter:

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2018 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners