Blogs

News

Email Subscriptions

Mehul Harry's DevExpress Blog

Video Case Study: DevExpress In ASP.NET MVC Framework

     

Video: Cody Shows DevExpress in ASP.NET MVC Framework Check out this video interview with Cody Skidmore. Cody has created an ASP.NET MVC website that uses DevExpress ASP.NET controls. In the video, you'll see:

  • Cody's ASP.NET MVC logging website
  • What DevExpress controls Cody used
  • Thoughts on ASP.NET MVC

Background

A few months ago, Cody asked me with great interest about DevExpress plans to support the upcoming ASP.NET MVC framework. At the time, we hadn't solidified our thoughts, but now we've announced that we'll support ASP.NET MVC in a future release.

However, Cody did some experimenting and figured out that with a few tweaks that you can get some DevExpress ASP.NET controls to work with ASP.NET MVC right away. So he build a website for his company, ARMTech Insurance. And he's been kind enough to share his website, project source code, thoughts and time to show you what's possible with Developer Express controls.

How?

Since DevExpress ASP.NET controls support callbacks, it wasn't difficult for Cody to get the controls working within ASP.NET MVC framework. Watch the video screencast to learn more.

ASP.NET MVC?

The Microsoft ASP.NET MVC framework is different than ASP.NET Web Forms. To learn more, watch some of the tutorial videos on the Microsoft ASP.NET MVC website.

Free Download

Cody has also been generous enough to share his ASP.NET MVC + DevExpress website. The file link below contains:

  • Full Visual Studio solution
  • SQL Express databases
  • Cody's presentation slides on ASP.NET MVC

Click link to download: DevExpressCaseStudyMVC

Feedback

Click the video image and watch the video. Then do me a favor and leave Cody some kind words for sharing with us all. Feel free to ask Cody any questions as he'll be watching this blog post.

Published Feb 17 2009, 02:00 PM by Mehul Harry (DevExpress)
Bookmark and Share

Comments

 

CESAR F. QüEB said:

Thank you Cody!

Really this source code and video are appreciated.

Cheers

February 18, 2009 9:31 AM
 

Aaron Smith said:

This is awesome! Thanks Cody for sharing all this info!

February 18, 2009 12:13 PM
 

Cody Skidmore said:

You're both welcome.  I'll update the source to soon.  The RTM release is eminent.

February 18, 2009 2:40 PM
 

Mehul Harry (DevExpress) said:

Cody has provided an updated version of the MVC Source code. Click the link in the blog post to download it.

March 2, 2009 7:43 PM
 

Giang said:

XinLay

March 22, 2009 10:10 PM
 

Trevor Westerdahl said:

I hope full MVC support is a priority.

MVC is certainly one of the most successful ventures and seems to be gaining ground quckly... as a long-time DevExpress user, I want the marriage to work.

BTW: Thanks for the update, I haven't seen much released about MVC and these posts are the only insight we have.

April 15, 2009 6:14 PM
 

Geoff Davis said:

Thanks Cody, Great video. I'll have a look at the source code soon. I'm really starting to like MVC :-)

April 28, 2009 5:52 PM
 

Brian Boatright said:

This is a great demo and only took me a few minutes to install including restoring the db's. Thanks!

May 1, 2009 9:30 PM
 

ilahi dinle said:

Thanks Cody for sharing all this info!

May 15, 2009 3:21 PM
 

ilahi dinle said:

Thanks Cody for sharing all this info!

May 30, 2009 7:10 PM
 

Cody Skidmore said:

You're welcome guys.  When ASP.NET MVC 1.0  was released, I tweaked the source incorportating strict views and [accidentally] found a way to bind Webform controls by adding a Page_Load event inside the view page.

If you have questions, email me here:  cody at skidmore dot us.

Cody

June 4, 2009 12:22 PM
 

Shuja Rehman said:

Hi Cody. can you tell me how to use AspxScheduler with MS sql server 2005 in asp.net MVC?

Thanks

Shuja

June 15, 2009 3:53 PM
 

Cody Skidmore said:

Shuja Rehman,

Thanks for contacting me.  I'll see what I can work up for a sample project.

With Regards,

Cody Skidmore

June 15, 2009 8:15 PM
 

ilahiler said:

thanks you very nice post

July 20, 2009 5:42 PM
 

ilahi said:

THANKS

July 24, 2009 5:29 AM
 

Yuri Makassiouk said:

Thanks, this was inspired. However, I tried to repeat the achievement using the trial version of ASPxGridView v. 11.2, within an MVC 3 application, using VS 2010, without much success.

I managed to get the grid display the first page of the data, but not much else - paging doesn't work (pager displayed the links correctly though), filtering, sorting - on any of these actions the grid would display the "loading" gif and stay like that forever.

I downloaded the case study project (thanks for providing it), replaced the references to DevExpress assemblies with the ones I have on my system (trial 11.2), bypassed the login check and replaced the datasource for the LogView grid with some mockup ArrayList with strings. Then, I allowed the grid to autocreate the columns and deleted the statically defined columns. These were the only changes I made, and it showed the same behavior - loaded the data, but no interactivity.

Is it valid to assume something changed in the newer version which made this approach fail?

April 11, 2012 9:38 AM
 

Mehul Harry (DevExpress) said:

Yuri,

Please contact our support team here and they can help you:

www.devexpress.com/.../CreateIssue.aspx

Thanks.

April 11, 2012 2:25 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.