Changes in __doPostback in .NET 1.1 to .NET 2.0
Before and After If you manually want to simulate a postback, Here is how you would stick together a string manually calling __doPostBack in .NET 1.1 In this case its making a link in a particular linkbutton control inside a datagrid. __doPostBack in .NET 1.0 string link = "<a href=\"javascript:__doPostBack('dataGridCart$_ctl" + i + "$linkButton','');\""; __doPostBack [...]
Tracking Influenza (flu) with Google Trends
This is quite an astonishing use of Google Trends. Google realized that when people get sick they (obviously) search for flu related keywords and they managed to find a correlation to actual published flu infection statistics. Quite amazing and this is definately a unique and interesting application of technology. How we track flu trends (Google [...]
Read Pro ASP.NET 2.0 in C# free
Due to a recent agreement between Google and some book publishers, they are going to publish a large number of books online (limited content depending on each publishers agreement). So you can now read Pro ASP.NET 2.0 C# for free online (a large chunk of it)! Click the link for more. This book is jam [...]
How to get session or other custom values into ELMAH
In “Timing is Everything” I mentioned how I successfully managed to convince management to install ELMAH. I wanted to add some comments as to how to easily get some values into ELMAH that you might have in your SESSION. The easy way, with no code changes, is simply store those values in a COOKIE. HttpCookie [...]