4
votes
1answer
67 views

Horrible nested if statement for changing CSS based on RadioButton selection

I'm writing away for this website, and I've come into a problem. I need to display only one td based on the corresponding radio button pressed. However, there are ...
9
votes
2answers
1k views

Display progress bar to show async. request status using JQuery

Instead of using ProgressBar plugin, I've below script to display the progress bar for async. requests on the page. Could anyone provide any feedback on this esp. if there will be any issues like ...
1
vote
2answers
101 views

Please compare these methods of accessing web forms controls using unobtrusive javascript

It's a common scenario. You have an ASP.NET web form with all of its controls (and generated IDs), and you have a separate Javascript file that needs to use those controls. What's the best practice? ...
3
votes
0answers
210 views

Acceptable Way to Navigate in ASP.NET MVC 4 in SPA-like App

I'm getting back into web development, and I'm creating a mobile-friendly web app. I'm trying to make it SPA-like in the sense that I don't load new pages for each action the user takes. As my ...
1
vote
0answers
142 views

Wrapping postback functions to call custom code at execution

Here is my solution for this stackoverflow question. It is designed to return an onbeforeunload message when the user leaves the page (excluding postbacks). It ...
1
vote
1answer
140 views

How to optimize jQuery to run on asp.net web form updatepanel?

I wrote this Jqeury to make it work with asp.net update panel. I know i do little bit of hacking to make it work just. I want to get some help in how to optimize and remove the hacks from my script. ...
8
votes
1answer
42k views

Basic Simple Asp.net + jQuery + JSON example

Earlier this year, before I learnt about Code Review StackExchange, I gave this answer in response to a question about how to combine ASP.net, jQuery, and JSON: ...