PlaceHolder control:
The PlaceHolder control is used to reserve space for controls added by code use to PlaceHolder control and show at run time.It does not produce any visible output.
Properties:
runat Specifies that the control is a server control. Must be set to "server"
Example:
Source file:Home.aspx
home.aspx.cs file :
Output
Before PlaceHolder
After PlaceHolder
The PlaceHolder control is used to reserve space for controls added by code use to PlaceHolder control and show at run time.It does not produce any visible output.
Properties:
runat Specifies that the control is a server control. Must be set to "server"
Example:
Source file:Home.aspx
home.aspx.cs file :
Output
After PlaceHolder
0 comments:
Post a Comment