ProTip #3: Adding HTML elements programmatically, using HtmlGenericControl C# class

Oxford Plus ProTips

Home |> ASP.Net - C# Tips |> ProTip #3: Adding HTML elements programmatically, using HtmlGenericControl C# class

Hi guys,

Welcome to a C# programming ProTip, Figure 1.

Figure 1. Logo for C#

This video, is about Adding HTML elements such as div, p, br tags and so on, programmatically and in run time, for this we are using the HtmlGenericControl. This class is a C# class in the name space "System.Web.UI.HtmlControls".

Video 1. Adding HTML programmatically

You can download the source code used in this ProTip from the link below:

Oxford_Plus_Test_ProTip_3.rar

An Oxford Plus ProTip

Written by: Abdolreza Ghanbari
Views count: 142

This page has updated in

  • 10 March 2021

Leave a reply:

Your Name (Optional):
Your Email (Optional):
Note: Your email address will not be published.
Your Comment:

Security process: What is the sum of 1 And 6 ?
About Us

Oxford Plus ProTips
Powered by ContentO Plus v3.1