Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Subclassing and Overriding ASP.NET Pages—Part II
travislaborde
follow
1
6-11-2007 3:29 PM
398 views
tags:
programming
,
asp.net
,
2005
travislaborde
says:
A very interesting article by Dino Esposito.
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
Favorite Programming Quotes
The Future Of Code, Digital And Genetic Co...
The Great Depression Hoax
MSNBC's Network Chief Down Plays The Pers...
Free Online Courses from Great Universities
OH voting machines contain critical vote-d...
Cheezburger LOLz for ALLz
More clips from
travislaborde
How "The Price is Right" SHOULD Work :)
Pictures - Taken Just At The Right Time
THE BEST MAN TURNED OUT TO BE A WOMAN
Today's Top Clips
"Artwork inspired by the mysteries and marvels of science." wonderful images
Gait may be associated with orgasmic ability
24 of the most peculiar creatures known to mankind.
Physicists investigate how time moves forward
Late-Night Jokes about Republican Vice Presidential Candidate Sarah Palin
Brave New World of Digital Intimacy
Everyone needs a hug
"Walking to the Moon" - A woman wakes from a coma
Cancer Redefined
Engineering Students
visit the
Top Clips page
View the Top Clips from
June 11, 2007
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/28436674-108b-495b-9fa2-726d6c86a195/B66D0B98-9187-4D3B-A9D4-E359A46E9024/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/" href="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/" style="font-size: 11px;">msdn.microsoft.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/"><B>Subclassing and Overriding ASP.NET Pages—Part II</B></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/"><P xmlid="PARAMAY2007CUTTINGEDGE002" font="franklingothiccondensed" class="clsDropCap">I recently came across a relatively large Web site that was full of extremely simple Web user controls—ASCX files, to be precise. The developers considered this approach necessary after they discovered unexpected behavior in a server control they were using.</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/"><P xmlid="PARAMAY2007CUTTINGEDGE004" font="minionmmroman">I was called in to review the application and the first question I was asked was, "is there a better way to replace a server control throughout a site without extensively reworking every page?"</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/"><PRE class="clsCode"><pages> <tagMapping> <add tagType=”System.Web.UI.WebControls.TextBox” mappedTagType=”Dino.Samples.TextBox” /> </tagMapping> </pages> </PRE></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://msdn.microsoft.com/msdnmag/issues/07/05/cuttingedge/"><P xmlid="PARAMAY2007CUTTINGEDGE043" font="minionmmroman">Needless to say, the remapped type must be a class that inherits from the original type. I should also note that the ASP.NET team used this feature in pre-RTM builds of ASP.NET AJAX Extensions 1.0 to replace original validator controls with new ones that work great with the UpdatePanel control.</P></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/B66D0B98-9187-4D3B-A9D4-E359A46E9024/blog/" title="blog or email this clip"><img src="http://content9.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK