»
S
I
D
E
B
A
R
«
ASP.NET MVC Controller action being called twice issues
Jul 11th, 2010 by evereq

Your ASP.NET MVC controller action (same action) called multiply times?

Here is a main “check” list for you:

  • Check that you don’t have any image or another elements in View with empty src attribute (<img src=”" /> for example) or have src attribute referencing something that no longer existed. You better check directly in browser “Page Source”, than in View itself due to possibility of some “dynamic” issues when View rendered. Ones you found such empty element in page html source its usually trivial to found same element in your view and fix issue.
  • Check that you don’t have any ajax calls referencing an empty URL (browsers will interpret such empty url as current page and request current page again make controller action execute few times)
  • You forgot to return “false” from JavaScript click event handler for link or button that makes AJAX call. If you forget “return false” browser simply made default action of the link – regular, non AJAX, call to same page)
  • Sometimes Firebug and YSlow Firefox (FF) plugins can cause such issues… Just temporary disable them in FF or check in different browser.

Know another reason? Let me know!

jQuery World
Dec 8th, 2009 by evereq

In this post I will list some well known and widely used jQuery plugins and extensions. Actually I want to maintain this list with “required” stuff to build sites using jQuery framework. I can’t and don’t want to hold here full list of plugins (actually it is already available on jQuery plugins page)  - instead I want to list “common” plugins that I and other developers / designers use on most of web sites. Please let me know if you use some cool plugin that you use all the time and I forget to list here.

  • jQuery UI – “provides abstractions for low-level interaction and animation, advanced effects and high-level, themeable widgets”
  • Form Plugin – “allows you to easily and unobtrusively upgrade HTML forms to use AJAX”
  • Metadata Plugin – “extracting metadata from classes, random attributes, child elements and HTML5 data-* attributes”
  • Validation Plugin
  • Dimensions Plugin“Extends jQuery to provide dimension-centric methods for getting widths, heights, offsets and more”
  • Bgiframe Plugin - “Fixes z-index issues in IE6″
  • Watermark Plugin – watermark capability to HTML input and textarea elements
  • jReject Plugin“jReject provides a simple, robjust, light-weight way to display rejections based on a the browser, specific browser version, specific platforms, or rendering engine”

to be continue…

Some additional useful plugins:

Some more links on jQuery:

»  Substance: WordPress   »  Style: Ahren Ahimsa
© Copyright 2008–2010 EvereQ.com All rights reserved. Logos, company names used here if any are only for reference purposes and they may be respective owners right or trademarks.