views:

2913

answers:

5

Hi Everyone,

I am trying to implement an Ajax ModalPopup Extender but i have no clue where to start. Can somene please show me how to go about doing this or atleast guide me in the right direction.

Thanx

Owais

+1  A: 

You could start here (the www.asp.net samples)
Also a sample here: codeproject

Kb
A: 

I don't think controls from the Ajax Control Toolkit are fully compatible with ASP.NET MVC. The Ajax Control Toolkit widgets are implemented similarly to traditional web controls, so most probably require viewstate, which does not exist in ASP.NET MVC.

For accomplishing modal in ASP.NET MVC, you'll have to go old school and take a more bare-metal approach and start hacking angle brackets, JavaScript, and CSS. What I've used in the past is a jQuery plugin jqModal, but there plenty out there.

barneytron
+1  A: 

I'm not sure how happy the AJAX Control Toolkit is with MVC (I'm not an MVC user), but if you're looking for information regarding the use of the control, watch this video. It's super easy to implement:

video

alex
A: 

hey everyone,

I found a really good resource for implementing Ajax Popup Model

http://dineshns.blogspot.com/2009/01/model-popup-ajax-control-toolkit-and.html

devforall
Good for you. But consider using approach provided by RSolberg. At least i see it way much better.
Arnis L.
+2  A: 

I've recently used JQuery to send modal popups. Take a look at this. Seems pretty easy to use.

http://www.ericmmartin.com/projects/simplemodal/

RSolberg