|
 |
aspx thread: server control function call
Message #1 by "Shraddha Kagalwala" <skagalwa@n...> on Fri, 7 Mar 2003 14:43:10 -0500
|
|
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #2 by "Rahul Singh" <rahul.singh@a...> on Sat, 8 Mar 2003 07:12:28 -0500
|
|
Add ' runat="server" ' to your control.
Make sure when you see the source of your page, that you don't see any
'<asp:button ' , but actual html.
Rahul Singh
Anant Systems, Inc.
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that
method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between
that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #3 by "Shraddha Kagalwala" <skagalwa@n...> on Wed, 12 Mar 2003 11:19:51 -0500
|
|
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #4 by "Rohit Arora" <rohit_arora@i...> on Wed, 12 Mar 2003 21:52:24 +0530
|
|
did u reinstalled asp.net installer by using aspnet_regiis -i
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 9:50 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #5 by "Shraddha Kagalwala" <skagalwa@n...> on Wed, 12 Mar 2003 11:48:41 -0500
|
|
no i did not try that
but i just want to clarify that do we have to type that command for
reinstallation
coz i did try uninstalling .net framework and then reinstalling but it did
not work
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:22 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
did u reinstalled asp.net installer by using aspnet_regiis -i
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 9:50 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #6 by "Rohit Arora" <rohit_arora@i...> on Wed, 12 Mar 2003 22:20:53 +0530
|
|
Do you have put this event in InitializeComponent()if u hv set
autoeventwireup=false which is bydefault false in vs.net
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 10:19 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
no i did not try that
but i just want to clarify that do we have to type that command for
reinstallation
coz i did try uninstalling .net framework and then reinstalling but it did
not work
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:22 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
did u reinstalled asp.net installer by using aspnet_regiis -i
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 9:50 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #7 by "Shraddha Kagalwala" <skagalwa@n...> on Wed, 12 Mar 2003 12:12:42 -0500
|
|
hello
i am not using visual studio.net but i am using the .net framework to run my
application
so if u can help with in that regards it will be of gr8 help
and i am not that much familiar with this stuff as i just started working on
this
thanks
shraddha
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:51 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
Do you have put this event in InitializeComponent()if u hv set
autoeventwireup=false which is bydefault false in vs.net
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 10:19 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
no i did not try that
but i just want to clarify that do we have to type that command for
reinstallation
coz i did try uninstalling .net framework and then reinstalling but it did
not work
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:22 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
did u reinstalled asp.net installer by using aspnet_regiis -i
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 9:50 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #8 by "Shraddha Kagalwala" <skagalwa@n...> on Thu, 13 Mar 2003 14:26:55 -0500
|
|
hi
i did try running aspnet_regiis -i cmd but it did not help me
its still the same
thanks
shraddha
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:51 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
Do you have put this event in InitializeComponent()if u hv set
autoeventwireup=false which is bydefault false in vs.net
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 10:19 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
no i did not try that
but i just want to clarify that do we have to type that command for
reinstallation
coz i did try uninstalling .net framework and then reinstalling but it did
not work
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Wednesday, March 12, 2003 11:22 AM
To: ASP.NET
Subject: [aspx] RE: server control function call
did u reinstalled asp.net installer by using aspnet_regiis -i
Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229
"Desire means never Quit. It may be near when it seems far, so stick to the
fight when you are hardest hit.Its when things go wrong, that u must not
Quit."
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Wednesday, March 12, 2003 9:50 PM
To: ASP.NET
Subject: [aspx] RE: server control function call
hi
ya i do include "run=server" in the control
but exactly what happens is
whole code is proper according to me
rather it's the code from one of the asp.net books only simple having one
button that call the method on onclick event
and that event is defined
but when this button is clicked nothing happens it just refreshs the page
may be i am thinking wrong but even autopostback is not working
as if i keep an textbox the value i entered does not stay there whereas it
should.
i am here even attaching the code
<script language="vb" runat="server">
sub submit(obj as object, e as eventargs)
lblmessage.text="text changed"
end sub
</script>
<html>
<body>
<asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
<asp:label id="lblmessage" runat="server"/>
</body>
</html>
can anybody help me with this
thanks
shraddha
-----Original Message-----
From: Shraddha Kagalwala [mailto:skagalwa@n...]
Sent: Friday, March 07, 2003 2:43 PM
To: ASP.NET
Subject: [aspx] server control function call
hello
my problem is very wierd
i am trying to call a method on "onclick" on button click but that method is
not been handled
even any method, let us say, ontextchanged for textbox even does not get
called
any method calls from server controls does not work.
i even uninstalled .net framework and installed again
but it is the same
can anyone help me with this
and it was working initially but don't know what went wrong in between that
it's not working now
i would really appreciate if anyone can help me with this
thanks
shraddha
Message #9 by "Dipak Jha" <dipak.jha@p...> on Fri, 14 Mar 2003 09:46:00 +0530
|
|
Hi Shraddha,
By any chance, did you install IIS after you installed the .NET framework?
Regards,
Dipak Jha
----- Original Message -----
From: "Shraddha Kagalwala" <skagalwa@n...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, March 14, 2003 12:56 AM
Subject: [aspx] RE: server control function call
> hi
>
> i did try running aspnet_regiis -i cmd but it did not help me
> its still the same
>
> thanks
> shraddha
>
> -----Original Message-----
> From: Rohit Arora [mailto:rohit_arora@i...]
> Sent: Wednesday, March 12, 2003 11:51 AM
> To: ASP.NET
> Subject: [aspx] RE: server control function call
>
>
> Do you have put this event in InitializeComponent()if u hv set
> autoeventwireup=false which is bydefault false in vs.net
>
> Regards
> Rohit Arora
> Intersolutions (P) Ltd
> B - 21, Sector 58,
> Noida - 201301
> Tel : 91-2585703/04/05 Extn: 229
>
> "Desire means never Quit. It may be near when it seems far, so stick to
the
> fight when you are hardest hit.Its when things go wrong, that u must not
> Quit."
>
>
> -----Original Message-----
> From: Shraddha Kagalwala [mailto:skagalwa@n...]
> Sent: Wednesday, March 12, 2003 10:19 PM
> To: ASP.NET
> Subject: [aspx] RE: server control function call
>
>
> no i did not try that
> but i just want to clarify that do we have to type that command for
> reinstallation
> coz i did try uninstalling .net framework and then reinstalling but it did
> not work
>
>
> -----Original Message-----
> From: Rohit Arora [mailto:rohit_arora@i...]
> Sent: Wednesday, March 12, 2003 11:22 AM
> To: ASP.NET
> Subject: [aspx] RE: server control function call
>
>
> did u reinstalled asp.net installer by using aspnet_regiis -i
>
> Regards
> Rohit Arora
> Intersolutions (P) Ltd
> B - 21, Sector 58,
> Noida - 201301
> Tel : 91-2585703/04/05 Extn: 229
>
> "Desire means never Quit. It may be near when it seems far, so stick to
the
> fight when you are hardest hit.Its when things go wrong, that u must not
> Quit."
>
>
> -----Original Message-----
> From: Shraddha Kagalwala [mailto:skagalwa@n...]
> Sent: Wednesday, March 12, 2003 9:50 PM
> To: ASP.NET
> Subject: [aspx] RE: server control function call
>
>
> hi
> ya i do include "run=server" in the control
> but exactly what happens is
>
> whole code is proper according to me
> rather it's the code from one of the asp.net books only simple having one
> button that call the method on onclick event
> and that event is defined
> but when this button is clicked nothing happens it just refreshs the page
> may be i am thinking wrong but even autopostback is not working
> as if i keep an textbox the value i entered does not stay there whereas it
> should.
>
> i am here even attaching the code
>
> <script language="vb" runat="server">
> sub submit(obj as object, e as eventargs)
> lblmessage.text="text changed"
> end sub
> </script>
> <html>
> <body>
> <asp:button id="btsubmit" text="submit" runat="server" onclick="submit" />
> <asp:label id="lblmessage" runat="server"/>
> </body>
> </html>
>
>
> can anybody help me with this
> thanks
> shraddha
>
>
> -----Original Message-----
> From: Shraddha Kagalwala [mailto:skagalwa@n...]
> Sent: Friday, March 07, 2003 2:43 PM
> To: ASP.NET
> Subject: [aspx] server control function call
>
>
>
> hello
> my problem is very wierd
> i am trying to call a method on "onclick" on button click but that method
is
> not been handled
> even any method, let us say, ontextchanged for textbox even does not get
> called
>
> any method calls from server controls does not work.
> i even uninstalled .net framework and installed again
> but it is the same
> can anyone help me with this
> and it was working initially but don't know what went wrong in between
that
> it's not working now
>
> i would really appreciate if anyone can help me with this
>
> thanks
> shraddha
>
>
>
>
>
>
>
>
>
>
>
>
Message #10 by "Balaji. V" <vbalaji@e...> on Fri, 14 Mar 2003 10:35:15 +0530
|
|
Hi Shraddha,
Try registering "aspnet_isapi.dll".
1. Normally this dll will found in
"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll"
or
The path you installed your framework.
2. Do the following to register the dll ...
Start=>Run=>regsvr32
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll
Hope this will solve your purpose.
Regards
Balaji. V
=================
Ebix Software India Pvt. Ltd.,
A-27G, Sector 16,
NOIDA, UP-201 301.
Ph: (91)120-2510 - 471 / 474 (Extn: 158)
Fax : (91)120-2510 - 483
www.ebix.com
----- Original Message -----
From: "Dipak Jha" <dipak.jha@p...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, March 14, 2003 9:46 AM
Subject: [aspx] RE: server control function call
> Hi Shraddha,
>
> By any chance, did you install IIS after you installed the .NET framework?
>
> Regards,
>
> Dipak Jha
>
> ----- Original Message -----
> From: "Shraddha Kagalwala" <skagalwa@n...>
> To: "ASP.NET" <aspx@p...>
> Sent: Friday, March 14, 2003 12:56 AM
> Subject: [aspx] RE: server control function call
>
>
> > hi
> >
> > i did try running aspnet_regiis -i cmd but it did not help me
> > its still the same
> >
> > thanks
> > shraddha
> >
> > -----Original Message-----
> > From: Rohit Arora [mailto:rohit_arora@i...]
> > Sent: Wednesday, March 12, 2003 11:51 AM
> > To: ASP.NET
> > Subject: [aspx] RE: server control function call
> >
> >
> > Do you have put this event in InitializeComponent()if u hv set
> > autoeventwireup=false which is bydefault false in vs.net
> >
> > Regards
> > Rohit Arora
> > Intersolutions (P) Ltd
> > B - 21, Sector 58,
> > Noida - 201301
> > Tel : 91-2585703/04/05 Extn: 229
> >
> > "Desire means never Quit. It may be near when it seems far, so stick to
> the
> > fight when you are hardest hit.Its when things go wrong, that u must not
> > Quit."
> >
> >
> > -----Original Message-----
> > From: Shraddha Kagalwala [mailto:skagalwa@n...]
> > Sent: Wednesday, March 12, 2003 10:19 PM
> > To: ASP.NET
> > Subject: [aspx] RE: server control function call
> >
> >
> > no i did not try that
> > but i just want to clarify that do we have to type that command for
> > reinstallation
> > coz i did try uninstalling .net framework and then reinstalling but it
did
> > not work
> >
> >
> > -----Original Message-----
> > From: Rohit Arora [mailto:rohit_arora@i...]
> > Sent: Wednesday, March 12, 2003 11:22 AM
> > To: ASP.NET
> > Subject: [aspx] RE: server control function call
> >
> >
> > did u reinstalled asp.net installer by using aspnet_regiis -i
> >
> > Regards
> > Rohit Arora
> > Intersolutions (P) Ltd
> > B - 21, Sector 58,
> > Noida - 201301
> > Tel : 91-2585703/04/05 Extn: 229
> >
> > "Desire means never Quit. It may be near when it seems far, so stick to
> the
> > fight when you are hardest hit.Its when things go wrong, that u must not
> > Quit."
> >
> >
> > -----Original Message-----
> > From: Shraddha Kagalwala [mailto:skagalwa@n...]
> > Sent: Wednesday, March 12, 2003 9:50 PM
> > To: ASP.NET
> > Subject: [aspx] RE: server control function call
> >
> >
> > hi
> > ya i do include "run=server" in the control
> > but exactly what happens is
> >
> > whole code is proper according to me
> > rather it's the code from one of the asp.net books only simple having
one
> > button that call the method on onclick event
> > and that event is defined
> > but when this button is clicked nothing happens it just refreshs the
page
> > may be i am thinking wrong but even autopostback is not working
> > as if i keep an textbox the value i entered does not stay there whereas
it
> > should.
> >
> > i am here even attaching the code
> >
> > <script language="vb" runat="server">
> > sub submit(obj as object, e as eventargs)
> > lblmessage.text="text changed"
> > end sub
> > </script>
> > <html>
> > <body>
> > <asp:button id="btsubmit" text="submit" runat="server" onclick="submit"
/>
> > <asp:label id="lblmessage" runat="server"/>
> > </body>
> > </html>
> >
> >
> > can anybody help me with this
> > thanks
> > shraddha
> >
> >
> > -----Original Message-----
> > From: Shraddha Kagalwala [mailto:skagalwa@n...]
> > Sent: Friday, March 07, 2003 2:43 PM
> > To: ASP.NET
> > Subject: [aspx] server control function call
> >
> >
> >
> > hello
> > my problem is very wierd
> > i am trying to call a method on "onclick" on button click but that
method
> is
> > not been handled
> > even any method, let us say, ontextchanged for textbox even does not get
> > called
> >
> > any method calls from server controls does not work.
> > i even uninstalled .net framework and installed again
> > but it is the same
> > can anyone help me with this
> > and it was working initially but don't know what went wrong in between
> that
> > it's not working now
> >
> > i would really appreciate if anyone can help me with this
> >
> > thanks
> > shraddha
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
|
|
 |