views:

149

answers:

4

I need to use few of the ajax control toolkit in asp.net mvc say, Validator CallOut,ModalPopUp.

and even i need to put a gridview in an update panel? can anybody give any valuable link so that i can look into it?

+2  A: 

I don't think you'd want to put an update panel and a gridview in an asp.net mvc application.

I don't know what you're trying to do, or why you picked asp.net mvc, but it sounds like you just need to stick to asp.net if you want to do those kind of things. MVC works very differently than classic webforms.

Morph
regarding the gridview, i have a similiar requirement where in i need to display contents with edit, delete and re-order buttons.i dont know whether the Gridview with MVC is possible or not, i am just trying all those, and if it wokr then its great..could you please tell me what will i use instead of GridView in MVC
Nimesh
Something like jqGrid for example. You'll have to go through a bit of a learning curve, but it's very nice.
Morph
+7  A: 

If you want to have AJAX functionality with ASP.NET MVC I suggest you do that with JQuery (the Javascript framework officially supported by Microsoft and shipping with VS 2010). UpdatePanel was supported in ASP.NET, it is not in ASP.NET MVC.

See a tutorial on how to build some AJAX functionality with ASP.NET MVC here and here.

Gergely Orosz
+2  A: 

Also keep in mind that the AJAX framework that Microsoft bolted on to ASP.Net webforms requires a full viewstate postback, so that kills one of the benefits of the MVC framework, which is to not require viewstate for control persistence.

Jason
so u mean to say that its not possible to add the ajax controls into the asp.net mvc?
Nimesh
+1  A: 

ASP.Net MVC has no concept of controls, the standard Web Form controls do not work with MVC.

Why are you trying to integrate WebForm controls in MVC?

Burt
from NIkhil's Blog, i could see the integration with the ajax. he is demonstrating the waterboxtextmark.http://www.nikhilk.net/Ajax-MVC.aspxthats the reason why i thought of integrating the ajax controls.in his sample code he is using system.web.extension 3.6.0.0but i am not able to add any reference as such. do i need to install anything else to get this 3.6.0.0 version???
Nimesh