modal-dailog

ASP.NET MVC Authorize Attribute to launch a modal?

I am working on a site that makes use of jquery modal dialogs to do various things like logging in and such. However; we have one slight issue with the use of these.. which is we are using the [Authorize] attribute on a lot of our action methods and so what is happening is if the user is not logged in and hits a route that they need to ...

jquery datepicker for ajax content fails after first load

Hi folks, I have a script that generates a modal dialog and inside of that, I would like to put a jquery ui datepicker. I'm currently using the following code: $('#datepicker').live('click', function() { $(this).datepicker({showOn:'both'}).focus(); }); Which works just fine the first time I open the dialog and click on the input bo...