I have one textbox, one button, one label- all asp.net controls.
What I trying to do :
when user click button text of text box is displayed on label.

Here is the code
-----------------
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Forms1.aspx.cs" Inherits="Forms" %>

<!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>Untitled Page</title>
    <link href="jquery-calendar.css" rel="stylesheet" type="text/css" /
>

    <script type="text/javascript" src="js/jquery.js"></script>

    <script type="text/javascript" src="jquery.form.js"></script>

   <script type="text/javascript">
        // wait for the DOM to be loaded
        $(document).ready(function() {
            // bind 'myForm' and provide a simple callback function
            $('#myForm').ajaxForm(function() {
                alert("Thank you for your comment!");
            });
        });
    </script>
</head>
<body>
    <form id="form1"  runat="server">
        <div>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <input type="submit" value="Submit Comment" />
            <asp:Button ID="Button1" runat="server"
OnClick="Button1_Click" Text="Button" />
            <div id="submit" style="width: 100px; height: 100px">
                <asp:Label ID="Label1" runat="server" Text="Label"></
asp:Label>
            </div>
        </div>
    </form>
</body>
</html>
-------------------------------------------------------------------------------------

On Oct 1, 11:12 pm, seedy <[EMAIL PROTECTED]> wrote:
> asp.netcontrols should not interfere with theformsplugin.
> Do you have a demo page we could take a look at?  Right not Im not even 100%
> sure what your problem you are having.
>
>
>
> Sharique Farooqui wrote:
>
> > Right now I'm not usingasp.netAjax.
> > I'm using someasp.netcontrols on it.
> > Is this causing problem?
>
> > On Sep 29, 5:15 pm, seedy <[EMAIL PROTECTED]> wrote:
> >> I've never used the update panel, so im not sure of all its
> >> functionality.
> >> Theformsplugin should let you submit a form through an ajax request.
> >> Are you usingasp.netajax and jQuery at the same time?  I think there
> >> could
> >> be some problems doing that as they both make use of the $
>
> >> Sharique Farooqui wrote:
>
> >> > yes I mean qury form plugin.
> >> > I'm trying but not getting sucess.
> >> > I think it can be used as replacement ofasp.netupdate panel, what u
> >> > think?
>
> >> > On Sep 26, 7:50 pm, Danjojo <[EMAIL PROTECTED]> wrote:
> >> >> What do you mean by jQueryforms?
>
> >> >> On Sep 26, 10:49 am, Sharique <[EMAIL PROTECTED]> wrote:
>
> >> >> > Hi,
> >> >> > Did anybody has tried jqueryformswithasp.net?
> >> >> > --
> >> >> > Sharique
>
> >> --
> >> View this message in
> >> context:http://www.nabble.com/Forms-with-asp.net-tf4522863s27240.html#a12954974
> >> Sent from the jQuery General Discussion mailing list archive at
> >> Nabble.com.
>
> --
> View this message in 
> context:http://www.nabble.com/Forms-with-asp.net-tf4522863s27240.html#a12984480
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to