Archives

Tagged ‘jQuery‘

July 2011 – My Application Tool Belt for .NET Web Applications

I really like to talk about tools I use to the people I work with. I especially like to push tools into environments where I think could be an improvement to their work flow.  So here it is, my current tool belt. I primarily focus on web applications, so there’s a bias toward those tools.

Read more →

Cross-domain JsonP using Asp.net MVC and jQuery

So there are a couple great walkthroughs out there that talk about using jquery jsonp in cross-domain scenarios.  They talk a lot about the requesting and server side, but not so much about how to use the callback. So to clarify, I’ll step through what I did to make this work including providing my implementation for a new ActionResult called JsonPResult for MVC.

Read more →

Using jQuery Modal Dialog Confirmation with an ASP.NET Server Control

So the other day, I wanted to build a confirmation dialog using jQuery with an existing Asp.Net web forms Button control.  I wanted this dialog to be modal; and upon confirmation, I wanted it to postback using the Button’s server-side click event.  After toying with the jQuery dialog, I realized that its dialog doesn’t suspend the process while waiting for user input. So it also causes problems with confirmation since clicking the original button will always postback. So with a few tweaks, you can prevent the postback and emulate the click event pretty easily.

Read more →