Mar 7, 2009

ContentPlaceHolder trick

  • ContentPlaceHolder in master page is reference in Content control in content page
  • Content control's Id can be empty, but the ContentPlaceHolderID need to be filled. The position of Content control in content page does not matter.
  • In ContentPlaceHolder, you can fill in some default content. But they will be override once content page reference it.
  • If you use nested ContentPlaceHolder and you want to fill the content, its parent ContentPlaceHolder can not be reference, otherwise, the content in nested ContentPlaceHolder will not be used.

1 comment:

  1. Developed by 1xbet NetEnt amounts to more than 200 and there are lots of|there are numerous} of them which have been among the many hottest for on-line on line casino gamers since their launch. The PowerUP Roulette live on line casino sport present is a extremely anticipated take on the basic Roulette sport, with as much as} 5 PowerUP bonus rounds offering additional probabilities to win. The finest video poker games with your favorite pay tables, starting at 5 cent denomination.

    ReplyDelete