Hi
       I am very new to .NET 4.0 , i am trying to do a small .net web application in that i have a text box, combobox, list box if i enter something in text box or what ever the control i mentioned above the text change event is not detected . which means the code inside the text change event is not fired. 
 
the code as follows
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
 
 
 xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:TextBox ID="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged"></asp:TextBox>
    <div>
    
    </div>
    </form>
</body>
</html>
 
And the C# code as follows
using
 
 
System;
 
 
using
 
 
 
 
 
 
 
 
 
 System.Collections.Generic;
 
 
using
 
 
 
 
 
 
 
 
 
 System.Linq;
 
 
using
 
 
 
 
 
 
 
 
 
 System.Web;
 
 
using
 
 
 
 
 
 
 
 
 
 System.Web.UI;
 
 
using
 
 
 
 
 
 
 
 
 
 System.Web.UI.WebControls;
 
 
public
 
 
 
 
 
 
 
 
 
 partial class _Default : System.Web.UI.Page
 
 
{
 
 
 
 
 
 
 
 
protected void Page_Load(object sender, EventArgs e)
 
 
 {
 
 TextBox1.Text = 
 
 
 
 
 
 
"Welcome to my new site";
 
 
 }
 
 
 
 
 
 
 
 
protected void TextBox1_TextChanged(object sender, EventArgs e)
 
 
 {
 
 Response.Write(TextBox1.Text);
 
 }
 
}