It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 48
Posts: 25
|
The PlaceHolder server control works just as its name implies. It is a placeholder for you to interject object dynamically into your page. Think of it as a maker with which you can add other controls. The capability to add controls to a page at a specific point also works with the Panel control.
To see how it works, insert a PlaceHolder control into your page and then add controls to it from your server-side code in the following manner VB Dim NewLabelControl as new Label() NewLabelControl.Text="Hello World" PlaceHolder1.Controls.Add(NewLabelControl) |
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the difference between a server-side include and server.Execute? | agaba175 | ASP | 0 | 08-05-2006 07:37 PM |
| Web Server Control Panel | khel | Site and Server Administration | 4 | 08-02-2006 11:18 AM |
| What is difference between user control,web control and custom control? | agaba175 | .NET | 0 | 07-26-2006 05:33 AM |
| Control C + Control V? | anusha | All Things General | 0 | 07-22-2006 02:45 AM |
| Image Server Control | Nazir | Graphics & Multimedia | 0 | 07-17-2006 10:55 PM |