Latest Posts

NOV 10 2008

Viewstate
Author:

Really, if your rendered code looks like this, seek help

0 Comments

NOV 1 2008

Animation != Application
Author:
Frame-based illiteration engulfs world. Developers worldwide cry. Joe typos his way into dismal eXistenZ. Haloween rocked.

0 Comments

OCT 25 2008

Handy ASP.NET Routines
Author:

Trace Output

Sub Trace(ByVal errorString As String, Optional ByVal x As String = "title not set")
    System.Web.HttpContext.Current.Trace.Write(x)
    System.Web.HttpContext.Current.Trace.Write(errorString)
End Sub

Quickly Access Page Elements from Codebehind

Function PG() As HttpContext
    'Ex:
    'PG.Response.Redirect("...")
    Return System.Web.HttpContext.Current
End Function

Quickly Access Application Settings

Function AP(ByVal x As String) As String
    'Ex:
    'MailMessage.To.Add(New MailAddress(AP("SupportAddress")))
    Return System.Configuration.ConfigurationManager.AppSettings(x)
End Function

0 Comments

OCT 13 2008

Bullshit Talks
Author:

McCain

Obama

Merrill Lynch** $349,170
Citigroup Inc $287,801
Morgan Stanley $249,377
Goldman Sachs $220,045
JPMorgan Chase & Co $206,392
AT&T Inc $183,663
Credit Suisse Group $175,503
PricewaterhouseCoopers $163,670
Blank Rome LLP $153,426
US Government $152,118
US Army $150,470
Wachovia Corp *** $147,456
Greenberg Traurig LLP $145,737
UBS AG $141,365
Bank of America $133,975
FedEx Corp $121,904
Gibson, Dunn & Crutcher $120,246
US Dept of Defense $118,125
Lehman Brothers **** $115,707
Bear Stearns* $108,000
Goldman Sachs $739,521
University of California $697,506
Harvard University $501,489
Citigroup Inc $492,548
Google Inc $487,355
JPMorgan Chase & Co $475,112
National Amusements Inc $432,169
Microsoft Corp $429,656
UBS AG $419,550
Lehman Brothers **** $391,774
Wilmerhale Llp $383,024
Time Warner $375,063
Sidley Austin LLP $370,916
Skadden, Arps et al $360,409
Stanford University $341,399
Morgan Stanley $341,380
Latham & Watkins $328,879
Jones Day $309,960
University of Chicago $294,237
General Electric $290,584
NOTE: All the numbers on this page are for the 2008 election cycle and based on Federal Election Commission data released electronically on Monday, September 29, 2008.

*Owned by JP Morgan Chase (http://www.bearstearns.com/sitewide/our_firm/press_releases/content.htm?d=03_16a_2008)

**Owned by Bank of America (http://newsroom.bankofamerica.com/index.php?s=press_releases&item=8255)

*** Soon to be owned by Citigroup (http://www.chicagotribune.com/business/chi-wachovia-citigroup-080929-ht,0,6842426.story)

**** Owned by Barclays PLC (http://www.reuters.com/article/topNews/idUSN1932554220080920)

0 Comments

SEP 19 2008

PostBackUrl Equals Change the Friggin' Form Action
Author:
Dim btn As New Button
btn.PostBackUrl = "www.insert-title.com"
btn.OnClientClick = "if(!validate())return false;"
btn.Text = "Submit"

0 Comments


LATEST POSTS

Viewstate bad developer, bad. Animation != Application Frame-based illiteration engulfs world. Developers worldwide cry. Handy ASP.NET Routines Bullshit Talks But money wont shut the hell up. PostBackUrl Equals Change the Friggin' Form Action .

ADS

MOST POPULAR

Multiple IEs in Windows Firefox Vs. The World Who Is Xperya? ActionScript Form Fields Quick Watermark IE 7 beta 2 standalone

IP Address Tool Chicago Web Design Free Text Messaging