Adding Rendering with SetRenderMethodDelegate() - aeh, sort of

Posted by: Rick Strahls WebLog, on 23 Jun 2006 | View original | Bookmarked: 0 time(s)

I stumbled onto something I didn’t know before in ASP.NET control rendering which is bound to prove useful in some scenarios.  The Control class has a SetRenderMethodDelegate method that allows specifying a method that is called after a control renders.   So imagine for a minute you have a real happy control like this one:   public class CustomControl : Control {     protected override void Render(HtmlTextWriter writer)     {       ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 6587 | Hits: 1186

Similar Posts

  • Replace SortedDictionary with LINQ query - Part 2 (with comparison) more
  • Replace SortedDictionary with LINQ query more
  • Improving the Sort Arrows GridView Control more
  • Extending the GridView to Include Sort Arrows more
  • Creating CSS Friendly Websites with ASP.NET 2.0 more
  • Sorting in .Net (don't sort manually, let .Net do it for you) - level 100 more
  • Sort a datatable before binding using DefaultView more
  • The problem with posting demos... more
  • An Extensive Examination of the DataGrid Web Control: Part 18 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD