There will be instances where this information could come handy. You are doing some action specific to a control on postback and don’ t want that to happen when postback happens because of some other control. Trick to figure out this is to understand how ASP.Net postback works. When ASP.Net renders HTML, it creates a blockof Javscript that looks like this,1 function __doPostBack(eventTarget, eventArgument)2 {3 var theform = document.Form1;4 theform.__EVENTTARGET.value = eventTarget;5 theform.__EVENTARGUMENT.value = eventArgument;6 …
Monthly Archives: March 2006
ASP.Net – Some performance myths.
Here is some performance myths in .net world as explained by Rob Howard in an article in MSDN Magazine along with what we think! C# code is faster than Visual Basic code – False! Rob says that there is a grain of truth in this mainly because VB.Net allows performance hindering actions like not explicitly declaring types.I think both should be comparable because all the .net languages are ultimately creatingt code targeting the framework CLR …
Clear your web applications Cache
We all know that Cache class provides an implementation for cache for a web application in ASP.net. Cache provides fast access to frequently used data. You can add your not so frequently changed data to Cache for a speedy access. Cache has an application scope, what ever is in cache is used by all users of your web application. Being said that, I find sometimes a need to clear my web applications cache without affecting …

Recent Comments