Sign in
AppDev: Something You Should Know by Irena Kennedy
Everything that is related to application development, and other cool stuff...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
Application Development
Async
Config
Deployment
Environment
RIA
Silverlight
SQL
Telerik
TFS
Tools
Visual Studio
VSTS
WCF
Web
Archive
Archives
September 2012
(2)
March 2012
(1)
January 2012
(2)
April 2011
(1)
March 2011
(2)
October 2010
(1)
September 2010
(1)
August 2010
(2)
December 2009
(4)
November 2009
(1)
September 2009
(1)
June 2009
(2)
April 2009
(1)
December 2008
(2)
February 2008
(1)
October 2007
(3)
September 2007
(1)
August 2007
(7)
July 2007
(5)
June 2007
(8)
May 2007
(19)
April 2007
(42)
March 2007
(43)
February 2007
(33)
January 2007
(21)
December 2006
(7)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(19)
June 2006
(12)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(14)
November 2005
(19)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
AppDev: Something You Should Know by Irena Kennedy
SYSK 325: How To Tell Which UpdatePanel Issued a Page PostBack
Posted
over 6 years ago
by
irenake
5
Comments
If you have multiple UpdatePanel controls on a page, and your Page_Load has a lot of data retrieval and rendering logic, you may want to know exactly which UpdatePanel is being updated, and execute only relevant code segments to optimize performance....
AppDev: Something You Should Know by Irena Kennedy
Brain Teaser #4: Solve This Math Word Puzzle
Posted
over 6 years ago
by
irenake
5
Comments
Each letter stands for a 1-digit number. No two letters may stand for the same number. Using pen and paper (i.e. not writing a computer program), find a value for each letter from the following set: 0, 1, 2, 3, 4, 6, 7, 8, 9. BAD + LET --...
AppDev: Something You Should Know by Irena Kennedy
SYSK 330: How To Use An Embedded Resource From A Sub-Folder
Posted
over 6 years ago
by
irenake
4
Comments
If you’re creating a custom client-side control by deriving from System.Web.UI.IScriptControl, you may want to embed the .js files into your assembly instead of having to deploy them to every web site that uses those controls (this is especially valuable...
AppDev: Something You Should Know by Irena Kennedy
:) Same Word, Same Language, Different Countries => Different Meaning
Posted
over 6 years ago
by
irenake
4
Comments
Q: In England, what’s the difference between a vest and a waistcoat? A: An English vest is what Americans call an undershirt; a waistcoat is what Americans call a vest. And I thought ‘football’ is the only word with different meaning in US...
AppDev: Something You Should Know by Irena Kennedy
SYSK 327: The Cost of RoundedCornersExtender From AjaxControlToolkit
Posted
over 6 years ago
by
irenake
4
Comments
More and more web sites are using rounded corners on spans (labels) and panels. And since AjaxControlToolkit makes it sinfully easy to do, before I start using it extensively, I decided to do some profiling to see the cost of that extender. Here...
AppDev: Something You Should Know by Irena Kennedy
Brain Teaser: Solve This Math Word Puzzle
Posted
over 6 years ago
by
irenake
4
Comments
Each letter stands for a 1-digit number. No two letters may stand for the same number. Find a value for each letter from the following set: 0, 1, 4, 5, 6, 7, 8, 9. ASK + GAVE ------- USED Answer is here . Source: http://www...
AppDev: Something You Should Know by Irena Kennedy
SYSK 322: RemoveChars Function For Your Utilities Assembly
Posted
over 6 years ago
by
irenake
3
Comments
Can you think of a case where you’d like to remove more than one character from a string? Some examples include '\r' and '\n' as a carriage return + line feed, or '$', ',' and ' ' for currency data entry fields… Of course you could call string.Replace...
AppDev: Something You Should Know by Irena Kennedy
Knowledge is Power: To Sell or To Rent My House? Calculator provided…
Posted
over 6 years ago
by
irenake
3
Comments
I created an application that allows you to calculate and compare the future estate value given two scenarios: Sell a house and reinvest the proceeds at a fixed percentage for specified number of years and re-investing earned interest Keep the...
AppDev: Something You Should Know by Irena Kennedy
SYSK 320: Binary vs. xml serialization performance
Posted
over 6 years ago
by
irenake
3
Comments
In my post SYSK 315 ( http://blogs.msdn.com/irenak/archive/2007/03/27/sysk-315-generic-functions-for-object-xml-serialization-deserialization.aspx ) I shared two generic functions for serialization and de-serialization of any object to/from xml. ...
AppDev: Something You Should Know by Irena Kennedy
:) Software Development – A Picture That’s Worth 1000 Words
Posted
over 6 years ago
by
irenake
3
Comments
Note : If you know of the source or author, please let me know so I can give proper credit. Special thanks to Gabe Brown for forwarding this image.
AppDev: Something You Should Know by Irena Kennedy
SYSK 339: Menus and Other Popups Without Any JavaScript
Posted
over 6 years ago
by
irenake
3
Comments
The other day I came across the following article by Eric Meyer -- http://meyerweb.com/eric/css/edge/popups/demo.html . Basically, instead of using JavaScript, you use CSS to change an element style that results in some other element(s) appearing...
AppDev: Something You Should Know by Irena Kennedy
SYSK 323: Financial Functions IPmt, Pmt, FV Implemented in C#
Posted
over 6 years ago
by
irenake
2
Comments
Microsoft.VisualBasic.dll exposes a number of very useful financial functions, but, as far as I can see, there are no such functions in C#. Of course one can simply reference Microsoft.VisualBasic assembly, especially since it is relatively light...
AppDev: Something You Should Know by Irena Kennedy
SYSK 337: JavaScript – Should You Define Functions Inside a Prototype or Outside?
Posted
over 6 years ago
by
irenake
2
Comments
Yesterday’s post described three ways to extend an existing type. It occurred to me that there is one more, slightly different mechanism, for defining a prototype function… you can think of it as Method 2-b. Consider the following: function...
AppDev: Something You Should Know by Irena Kennedy
:) Did You Know That Some Insects That Don’t Need Males To Reproduce?
Posted
over 6 years ago
by
irenake
2
Comments
It’s true -- Carausius morosus, also known as the 'common', 'Indian' or 'laboratory' stick insect, are all female and reproduce by parthenogenesis, i.e. without mating. The eggs laid by the females hatch without being fertilized by males. As the...
AppDev: Something You Should Know by Irena Kennedy
SYSK 319: How to Get an Advanced Warning Before You Click on a Link that Navigates to a Malicious Web Site For Free
Posted
over 6 years ago
by
irenake
2
Comments
Recently, I have learned about a product called LinkScanner from Exploit Prevention Labs. You can use it in two ways to be advised in advance (i.e. before you click on a link) if the site you’re about to visit is known for having exploits, hacked pages...
AppDev: Something You Should Know by Irena Kennedy
Brain Teaser #3
Posted
over 6 years ago
by
irenake
2
Comments
If you subtract a three digit number (all digits unique) from another three digit number whose digits are reverse of the first number, you end up with another three digit number consisting of same digits, but in a different order: xyz – zyx = zxy...
AppDev: Something You Should Know by Irena Kennedy
SYSK 326: How to Measure AJAX Control Initialization Time on the Client Side
Posted
over 6 years ago
by
irenake
1
Comments
Say, you’ve added a few extender controls to make your AJAX-enabled web site look very ecstatically appealing to the end users. And now you’d like to evaluate the cost of beautifying your site in such manner. Measuring the additional page size bytes is...
AppDev: Something You Should Know by Irena Kennedy
Knowledge is Power: Why You May Not Want To Give Your Name When Signing Up For a Store Loyalty Card
Posted
over 6 years ago
by
irenake
1
Comments
Supermarkets and pharmacies offer discounts when you sign up for their loyalty cards. But every time you swipe your card, you purchases are recorded for marketing purposes. These buying records are now being sold to life and health insurance companies...
AppDev: Something You Should Know by Irena Kennedy
:) How do nine-banded armadillos get across small bodies of water?
Posted
over 6 years ago
by
irenake
1
Comments
Answer: Either by gulping air into their stomach and intestines and floating across, or by sinking to the bottom of shallow water and using their claws to walk across. They can hold their breath for about six minutes. Source: The 365 amazing...
AppDev: Something You Should Know by Irena Kennedy
SYSK 329: AJAX.NET, WPF, Expression, IE Extensions and Other Hands-On Labs and Demos
Posted
over 6 years ago
by
irenake
1
Comments
Not going to MIX 07 this year? You can still download a number of videos, PowerPoint slides, scripted demons and hands-on labs on a variety of web development topics at http://visitmix.com/university/ .
AppDev: Something You Should Know by Irena Kennedy
:) When it comes to animals, what is a zorse?
Posted
over 6 years ago
by
irenake
1
Comments
A cross between a zebra and a horse. Here is a quote from http://www.geocities.com/zedonknzorse/basics.html : “Zebras, donkeys, and horses are all members of the family equus - Equines. They are all slightly different in genetic makeup...
AppDev: Something You Should Know by Irena Kennedy
SYSK 338: What SQL Queries Are Currently Running?
Posted
over 6 years ago
by
irenake
1
Comments
That’s easy -- just run the SQL statement below… select session_id , request_id , start_time , status , cpu_time , er . total_elapsed_time , substring ( st . text , ( er . statement_start_offset / 2 ) + 1 , (( case er . statement_end_offset...
AppDev: Something You Should Know by Irena Kennedy
:) Do birds have singing lessons?
Posted
over 6 years ago
by
irenake
1
Comments
Apparently… yes! W. H. Thorpe (University of Cambridge) was the first to demonstrate learning in birds by performing what is now considered to be a classic experiment, involving the isolation of male chaffinches (European songbirds) in soundproof...
AppDev: Something You Should Know by Irena Kennedy
SYSK 335: What Causes Windows to Blue Screen?
Posted
over 6 years ago
by
irenake
1
Comments
Ever wonder what are the circumstances of when Windows blue screens? To my knowledge, if an unhandled exception occurs in kernel-mode code (e.g. a privileged device driver or the OS kernel itself), Windows considers it too unsafe to keep running, so it...
AppDev: Something You Should Know by Irena Kennedy
SYSK 331: How To Expose A Client-Side Event From Your ASP.NET Control
Posted
over 6 years ago
by
irenake
1
Comments
Consider the following scenario – you create your own calendar control and you’d like to raise an event when a date is selected (e.g. OnDateClicked)… and you’d like for the users of your calendar control to process the event using JavaScript on the client...
Page 1 of 2 (42 items)
1
2