Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

7.3. Summary

Adaptive rendering and control adapters aren’t entirely new to ASP.NET 4.0, but they’re great examples of flexibility. You can control virtually any server control and alter the markup.

As you learned in this chapter, generating a new markup and substituting the original one is pain-free. All you need to do is write a control adapter, register it, and then ASP.NET automatically performs the choice. Sometimes this isn’t easy (it depends on how complex the original control is), but the results are always interesting and worth the effort.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial