How to Add a RadioButtonList to a PlaceHolder Control in asp.net Programmatically using C#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox-> Double Click on PlaceHolder(or drag and drop PlaceHolder on Design view)->

ToolBox-> Double Click on Button->Right click on Button->Select Properties->Change Text Properties to "Add Controls to PlaceHolder"-> Your Design Window should look like this













 3.Double click on Button to get the code behind(or Right click on Button->select Properties->Click Events->Double Click on Click Events)->Now write this code
4.Click F5 to run your project->OK 
















How to Add a CheckBoxList to a PlaceHolder Control in asp.net Programmatically using C#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox-> Double Click on PlaceHolder(or drag and drop PlaceHolder on Design view)->

ToolBox-> Double Click on Button->Right click on Button->Select Properties->Change Text Properties to "Add Controls to PlaceHolder"-> Your Design Window should look like this













 3.Double click on Button to get the code behind(or Right click on Button->select Properties->Click Events->Double Click on Click Events)->Now write this code

 4.Click F5 to run your project->OK 
After Running the Project















Add a CheckBoxList to a PlaceHolder output
After Clicking The Button CheckBoxList Shown on PlaceHolder
 

How to Add a BulletedList to a PlaceHolder Control in asp.net Programmatically using C#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox-> Double Click on PlaceHolder(or drag and drop PlaceHolder on Design view)->

ToolBox-> Double Click on Button->Right click on Button->Select Properties->Change Text Properties to "Add Controls to PlaceHolder"-> Your Design Window should look like this
PlaceHolder Control













 3.Double click on Button to get the code behind(or Right click on Button->select Properties->Click Events->Double Click on Click Events)->Now write this code
 4.Click F5 to run your project->OK    
Add a BulletedList Control to a PlaceHolder
After Running the Project






















Add a BulletedList Control to a PlaceHolder Programmatically
When Clicking the Button BulletedList are shown on PlaceHolder

How to Add a Button to a PlaceHolder Control in asp.net Programmatically using C#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox-> Double Click on PlaceHolder(or drag and drop PlaceHolder on Design view)->

ToolBox-> Double Click on Button->Right click on Button->Select Properties->Change Text Properties to "Add Controls to PlaceHolder"-> Your Design Window should look like this
 3.Double click on Button to get the code behind(or Right click on Button->select Properties->Click Events->Double Click on Click Events)->Now write this code

4.Click F5 to run your project->OK
After Running the project















After clicking the Button(Add controls to PlaceHolder Button)

















How to Add a Calender to a PlaceHolder Control in asp.net Programmatically using C#

 PlaceHolder Control is used like a container in which we can add other controls.It has no visual output.
The Placeholder does not render any tags for itself, so it is great for grouping content without the overhead of outer HTML tags.

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox-> Double Click on PlaceHolder(or drag and drop PlaceHolder on Design view)->

ToolBox-> Double Click on Button->Right click on Button->Select Properties->Change Text Properties to "Add Controls to PlaceHolder"-> Your Design Window should look like this













3.Double click on Button to get the code behind(or Right click on Button->select Properties->Click Events->Double Click on Click Events)->Now write this code
4.Click F5 to run your project->OK
After Running the project
















After clicking the Button the calender is shown on PlaceHolder

How to create Tabbed Multiview in asp.net with c#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)

2. Click ToolBox(Navigation)-> Double Click on Menu(or drag and drop Menu on Design view)-> Right click on Menu->Select Properties->Change Orientation properties to Horizontal












Click ToolBox-> Double Click on MultiView(or drag and drop MultiView on Design view)->

ToolBox-> Double Click on View(Place view inside Multiview otherwise it will give you error)-> Add three view. Your Window should look like this
3.Click smart tag on menu(Horizontal arrow on image)->Click Edit Menu Items->You will see a pop up window











4.Click on Vertical arrow(on image) to add menu item->change the Text to your desired menu name(here i write home)->change the value to 0 (Add as many menu item as you want-> change the Text to your desired name and increase the value by 1)(this value will be used as ActiveViewIndex value)->OK
























5.Right click on Menu->Select Properties->Click Events->Double click on MenuItemClick event(Vertical arrow)


















And Write this Code:
6. Click F5 to run your project->OK
After Running the project(ActiveViewIndex now 0)














After clicking Menu( ActiveViewIndex now 1)
















After clicking About Us(ActiveViewIndex now 2)

How to use ImageButton Control in asp.net

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)


2.Solution Explorer->Right click on Project name->Click New Folder->name this folder as Images and add your desired image in this folder














3.ToolBox->Double click on ImageButton->Right click on ImageButton->select properties-> Click ImageUrl Properties->you will prompt a pop up window like this->select your desired image->ok
You will prompt a pop up window like this->select your desired image->ok
 4.Right Click on ImageButton->select Properties->click Events->double click on click Events(to get code behind)

And write this code

5.Click F5 to run your project
 

How to use ImageMap Control in asp.net using c#

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)


2.Solution Explorer->Right click on Project name->Click New Folder->name this folder as Images and add your desired image in this folder
ImageMap Control
3.ToolBox->Double click on ImageMap->Right click on ImageMap->select properties-> Change HotSpotMode to "PostBack" ->
ImageMap Control Properties


























4.click on ImageUrl Properties->you will prompt a pop up window like this->select your desired image->ok
asp.net image map control





















5.Click HotSpots Properties->you will prompt a window->click Add(to add hotspot area you can add many hotspot)->change radius,x and y to shown your area)->also change AlternateText and PostBackValue->ok
 6.Right Click on ImageMap->select Properties->click Events->double click on click Events(to get code behind)













And write this code
 7.click F5 to run your project->ok
Respond to a user click in ImageMap control

























Respond to a user click in ImageMap control