Using ASP.NET AJAX with ASP.NET MVC

Using ASP.NET AJAX with ASP.NET MVC.

I thought you couldn’t use them both, given that a ScriptManager control is server side and implementing it would break the design pattern of MVC Apps…turns out the raw Javascript that is used behind the Microsoft Ajax toolkit is available as a standalone download, and by referencing this on the client side View pages one can actually use all the features of Ajax toolkit without breaking the MVC model as you no longer need to have the server side ScriptManager control present.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: