Archives
-
ASP.NET Futures: Intro to the Xaml and Media Controls
Still relatively unknown, ASP.NET Futures is a nice little add-on to ASP.NET and ASP.NET AJAX that contains some features we want public feedback on. It's a playground in which technology gets to frolic in front of the public's (your) eyes. So why not seize the opportunity to play with the bits and submit your thumbs up, thumbs down?
-
Migraine m = (Migraine) DiagnosisFactory.Diagnose(pain)
I've struggled with pretty bad headaches probably ever since high school. They come and go with intensity and frequency. Sometimes I think I have them figured out. Eat right, and before I get starving, get enough sleep, and they usually leave me alone. But stressful times, like long business trips or big presentations, or other matters, can easily prompt one. I've grown so used to them that I always make sure I have a supply of Excedrin nearby. There's a bottle at home, up and down stairs, at work, even in the car for those unexpected times. I even have family members be sure to have a stock if I know I'll be visiting for an extended period of time.
-
Understanding what Page.RegisterRequiresPostBack does
I recently received a comment in my Truly Understanding ViewState article about the "ArrayList of controls in the control hierarchy that need to be explicitly invoked by the page class during the raise postback event stage of the life cycle." Such is the 3rd entry in the master Triplet that makes up ViewState as a whole.
-
Response.Redirect into a new window (with Extension Methods)
This question comes up from time to time, to time. If you understand how redirects work, then you also know it is "not possible" to redirect into a new window, because a redirect on the server causes a special HTTP response to be sent to the users browser, the client. The browsers native implementation interprets the special response code and sends the user off to the destination. There's no built-in mechanism or standard for specifying a new window.
-
Rendering ASP.NET Controls out of place
Two posts back I discussed a technique you can use to render controls in an order other than how they are physically arranged in the control tree.
-
Inline Script inside an ASP.NET AJAX UpdatePanel
When you wrap content with an UpdatePanel, it pretty much takes care of everything for you. But it can't do absolutely everything...
-
Rendering ASP.NET Controls out of order
I receive a lot of comments and emails stemming from my series of articles on understanding the nuances of dealing with dynamic controls. It's interesting that so many of these requests revolve around very similar problems.
-
TRULY Understanding Dynamic Controls (Part 4)
Part 1: Dynamic vs. Static
Part 2: Creating Dynamic Controls
Part 3: Adding Dynamic Controls to the Control Tree
Part 4: Because you don't know what to render at design time -
Hacking the Universe: Quantum Mechanics
"I am among those who think that science has great beauty. A scientist in his laboratory is not only a technician: he is also a child placed before natural phenomena which impress him like a fairy tale." - Marie CurieGoing a little off topic today. But with this audience, I bet you are more likely to be interested than if this were a blog about politics.
-
Beware of the greedy Script element
I've seen this problem a few times now, from a few different developers... including myself. I figure it must have plagued someone else out there too, so hopefully if you read this, if you ever encounter this problem, it wont cost you hours.
-
ScriptManager.LoadScriptsBeforeUI Explained
A typical ASP.NET AJAX page will contain a fair amount of script references. Sometimes more than you realize, because components you use, such as server controls from the ASP.NET AJAX Control Toolkit, automatically include library scripts that enable their client-side magic. Sometimes you include references explicitly through the ScriptManager's ScriptReferences collection.
-
Keyboard wish #47: Mouse keys
How many times do you copy something just because you want to paste it somewhere else, immediately? Only, you get yourself into quite a mess if there's something valuable already on the clipboard. Sure, there are tools out there that allow for multiple clipboard items. It's built right into Office and even Visual Studio. But who uses that feature really? They're... clunky. For me, I always end up running a quick Win+R+notepad+Ctrl-V. Ahh the endless uses of notepad... but anyway.... all this madness and all you want to do is get something from ------> here
-
Bug: I couldn't care less
Just a bit off topic today, but this has been bugging me for years and years and I finally have a significant channel through which I can attempt to set the record straight.
-
An AutoCompleteExtender does not an Advanced DropDownList make!
I've received a lot of feedback on my SmartAutoCompleteExtender as of late. But I've noticed a disturbing pattern with the suggestions people have.