Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: web control button


Message #1 by "DT-Rene Vazquez" <renevazquez@c...> on Wed, 30 Oct 2002 18:38:20 -0500
Yes, if the button you generate is a submit button.

-----Original Message-----
From: DT-Rene Vazquez [mailto:renevazquez@c...]
Sent: 31. oktober 2002 03:57
To: ASPX_Professional
Subject: [aspx_professional] RE: web control button


And in this way I still can take some action in the server when the 
button is clicked?

-----Original Message-----
From: Einar Paul Qvale [mailto:einar.paul.qvale@f...]
Sent: mi=E9rcoles, 30 de octubre de 2002 18:56
To: ASPX_Professional
Subject: [aspx_professional] RE: web control button

In C# code-behind:

private void Page_Load(object sender, System.EventArgs e)
{
	this.YourServerControl.Attributes.Add("onclick",
"yourClientFunction()");
}

-----Original Message-----
From: DT-Rene Vazquez [mailto:renevazquez@c...]
Sent: 30. oktober 2002 15:38
To: ASPX_Professional
Subject: [aspx_professional] web control button


Hi all, I have a server control button for wich I defined a click event 
to process the action in the server. But I want that when the client 
click the button in the browser take some extra action with client side 
script before submitting the page to the server. If someone could give 
me some idea of how to achieve this, the help would be great!

Thanks a lot in advance.


---

ASP.NET 1.0 Namespace Reference with C# 
http://www.wrox.com/acon11.asp?ISBN=3D1861007442

ASP.NET 1.0 Namespace Reference with VB.NET 
http://www.wrox.com/acon11.asp?ISBN=3D1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples. 

---

---

ASP.NET 1.0 Namespace Reference with C# 
http://www.wrox.com/acon11.asp?ISBN=3D1861007442

ASP.NET 1.0 Namespace Reference with VB.NET 
http://www.wrox.com/acon11.asp?ISBN=3D1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples. 

---

---

ASP.NET 1.0 Namespace Reference with C# 
http://www.wrox.com/acon11.asp?ISBN=3D1861007442

ASP.NET 1.0 Namespace Reference with VB.NET 
http://www.wrox.com/acon11.asp?ISBN=3D1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples. 

---

  Return to Index