[jQuery] asp.net form problem

[jQuery] asp.net form problem


Hi,
I'm having a wired problem with query forms plugin while using with
asp.net. It is not updating output, but when look through firebug it
shows proper output.
-----
Asp.net mark-up
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Form
Test.aspx.cs" Inherits="Test_Form_Test" %>
<!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>Jquery Form Test</title>
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/jquery.form.js" type="text/javascript"></
script>
<script type="text/javascript">
$(document).ready(function(){
$("#form1").ajaxForm();
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="Label"></
asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Click"
onclick="Button1_Click" />
</div>
</form>
</body>
</html>
-----
<strong>Code behind<strong>
-------
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
public partial class Test_Form_Test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = TextBox1.Text;
}
}
--------
Sharique