Palermo4
J. Michael Palermo IV
-
Motorola Q
I am now the proud owner of the Motorola Q (black). This is a nice phone!
-
AJAX Without ASP.NET AJAX
On day nine of my "post a blog every day in July" mission, I want to share how to get AJAX behavior in ASP.NET without using AJAX Extensions 1.0. Keep in mind, I prefer to use AJAX Extensions! This blog is for those out there that need a sprinkle of AJAX on their site, but are not allowed (for whatever reason) to install AJAX Extensions.
-
How To: Obtain Method Name Programmatically For Tracing
I am not a fan of hard-coding method names in exception or trace messages. Here is a utility method to allow access to method name at runtime:
-
How To: Return Embedded Resource Content As String
Here is a utility method for returning any embedded resource content as a string:
-
How To: Dynamically Load A Page For Processing
I have often desired the ability to dynamically load a page for processing, much like we do for .asxc controls with LoadControl(pathToASCX). For example, I may want to create a custom HTTP handler or module to dynamically load a page - while allowing me to programmatically change key properties before processing. Here is a method that accomplishes such a task:
-
Getting the Friendly Control ID
Here is a simple utility method that will take a string argument such as
"ctl00$ContentPlaceHolder1$DropDownList1" and return "DropDownList1" -
Case Insensitive String Comparison
Here is a little utility method that takes two strings and determines equality while ignoring case. Thus "silverlight"=="SilverLight"=="SILVERLIGHT"==true.
-
Accessing Server Controls From Client Script
In our AJAX QuickBuild event yesterday, Simon Allardice demonstrated for everyone how to access the value of a server control from client-side script. Let me share with you his tip/trick. It is quite simple. Here is the markup of a content page - notice the script tag:
-
QuickBuild Event: Accelerated ASP.NET AJAX
Today is another instance of our highly successful "QuickBuild" event in Phoenix, AZ. A QuickBuild is a one day, intensive look at a given technology. At the end of the day, each attendee receives a DVD with videos and all the source code for each demo (and then some). We have sold out every time we offer one.
-
How To: Get the Value of a Control Without an instance of the Control
On my quest to write one blog a day in July, here is my first post regarding how to get the value of a control without the control instance. This can be very helpful for HTTP pipeline development or when the value of the control is needed very early in the page lifecycle.