Properties of Literal Control

On the hand a Label control will embrace many formatting styles ,
but no mode.

Now edit the code again
<script runat="server">
void Page_Load()
{
L2.Text = "VSD-2008" + DateTime.Now.ToString("D");
}
public void method1(object sender, EventArgs e)
{
L1.Text = "You click and got me down <br/>";
L1.Text += "FYI you are using simple function in C# <br/>";
}
protected void method2(object sender, ImageClickEventArgs e)
{
L1.Text += "Below shows image X and Y co-ordinate <hr/>";
L1.Text += "X Co-ordiate : "+ e.X.ToString() + "<br/>";
L1.Text += "Y Co-ordinate : " + e.Y.ToString() + "<br/>";
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Simple function and no class <asp:Literal
ID="L2" runat="server" /></title>
Now let us focus on the few interesting features those displayed
during runtime.

Now Click on the Image or "Click Me Button",;
- you would notice that text in the title bar is duplicated
- line break <br/> is ingnored

Pass-through will be the normal mode where HTML mark ups are
interpreted.

Transform property will strip off any unsupported mark -up, here
IE support all the mark-ups so no apparent distinction between
Pass-through and Transform
