Literal example: how to use Mode Encode, PassThrough, Transform
LiteralControlExample.aspx
<%@ Page Language="C#" %>
<!DOCTYPE html>
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Literal example: how to use Mode Encode, PassThrough, Transform</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Literal
ID="Literal1"
runat="server"
Mode="Encode"
Text="<b><u>Literal web server control: Mode Encode</u></b>"
>
</asp:Literal>
<br />
<asp:Literal
ID="Literal2"
runat="server"
Mode="PassThrough"
Text="<b><u>Literal web server control: Mode PassThrough</u></b>"
>
</asp:Literal>
<br />
<asp:Literal
ID="Literal3"
runat="server"
Mode="Transform"
Text="<b><u>Literal web server control: Mode Transform</u></b>"
>
</asp:Literal>
<br />
</div>
</form>
</body>
</html>

- TextBox example: how to use TextBox control in asp.net
- TextBox example: how to use TextMode property Password
- TextBox example: how to use TextMode property MultiLine
- TextBox example: using OnTextChanged event with AutoPostBack
- AccessKey example: how to use AccessKey in asp.net
- Asp.Net Code Behind Model Example
- Asp.Net Inline Coding Model Example
- BulletedList control example
- Panel example: how to use Panel control in asp.net