if (IsPostBack) return;(mikeinmadison.wordpress.com)

submitted by mikeinmadisonmikeinmadison(170) 4 years ago

I began using a single-line postback check a while ago, and I think it’s better than using the usual block multi-line style. There are probably quite a few varying opinions about this, but my reasons for using the single-line (top) version include: 1. It’s easier to type and more readable 2. There is no reverse logic 3. It saves a line or two of code 4. It’s easier to comment out for debugging 5. The “Bunch of code” isn’t needlessly tabbed in

add a comment |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story