|
 |
aspx thread: Not firing event from child control
Message #1 by "David Adames" <david@p...> on Fri, 16 Aug 2002 08:46:52 -0400
|
|
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
Message #2 by "David Adames" <david@p...> on Fri, 16 Aug 2002 09:34:23 -0400
|
|
I found info at...
http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/web
ctrl/button/doc_button.aspx
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #3 by "David Adames" <david@p...> on Tue, 20 Aug 2002 10:25:19 -0400
|
|
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #4 by "Sampath, Ramanujam (Cognizant)" <SRamanuj@c...> on Thu, 22 Aug 2002 16:30:45 +0530
|
|
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #5 by "David Adames" <david@p...> on Thu, 22 Aug 2002 09:22:22 -0400
|
|
Hi Ramanujam,
Are you saying that the linkbutton in the datalist in my aspx page should
not have an event? Then declare the button in aspx.vb code?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 7:01 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #6 by "Sampath, Ramanujam (Cognizant)" <SRamanuj@c...> on Thu, 22 Aug 2002 18:58:18 +0530
|
|
Well u took the other way.... I just conflic that a button on a panel will
have events and just because that panel is not a data-bound control the
button in it will not have events is a wrong denotion... as u told in the
previous forum.... check it out...
keep me posted of any issues
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Thursday, August 22, 2002 6:52 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Hi Ramanujam,
Are you saying that the linkbutton in the datalist in my aspx page should
not have an event? Then declare the button in aspx.vb code?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 7:01 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #7 by "David Adames" <david@p...> on Thu, 22 Aug 2002 14:58:26 -0400
|
|
Let me explain it better than I first did.
I have a panel control and a bound datalist control. The datalist consists
of templated items that are linkbuttons. In code I add the datalist to the
panel to control the presentation my UI but then when I run the app and
click on the linkbutton its event does not fire. When I do not add the
datalist to the panel the linkbutton event fires but then my UI is not layed
out as I would like. Any ideas?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 9:28 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well u took the other way.... I just conflic that a button on a panel will
have events and just because that panel is not a data-bound control the
button in it will not have events is a wrong denotion... as u told in the
previous forum.... check it out...
keep me posted of any issues
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Thursday, August 22, 2002 6:52 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Hi Ramanujam,
Are you saying that the linkbutton in the datalist in my aspx page should
not have an event? Then declare the button in aspx.vb code?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 7:01 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #8 by "Sampath, Ramanujam (Cognizant)" <SRamanuj@c...> on Tue, 27 Aug 2002 10:06:25 +0530
|
|
Well adams.....
I dont find any fault in adding the datalist to the panel control and
expecting the LinkButton to work. Can u post some part of ur code so i can
check it ....... to help u out !!
keep me posted.....
==============================
S.Ramanujam
Programmer Analyst
Cognizant technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 23, 2002 12:28 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Let me explain it better than I first did.
I have a panel control and a bound datalist control. The datalist consists
of templated items that are linkbuttons. In code I add the datalist to the
panel to control the presentation my UI but then when I run the app and
click on the linkbutton its event does not fire. When I do not add the
datalist to the panel the linkbutton event fires but then my UI is not layed
out as I would like. Any ideas?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 9:28 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well u took the other way.... I just conflic that a button on a panel will
have events and just because that panel is not a data-bound control the
button in it will not have events is a wrong denotion... as u told in the
previous forum.... check it out...
keep me posted of any issues
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Thursday, August 22, 2002 6:52 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Hi Ramanujam,
Are you saying that the linkbutton in the datalist in my aspx page should
not have an event? Then declare the button in aspx.vb code?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 7:01 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
Message #9 by "David Adames" <david@p...> on Tue, 27 Aug 2002 09:00:12 -0400
|
|
in the aspx file I have a datalist called dlstHPI which has linkbuttons and
I have a panel, pnlHPI
...
<asp:datalist id="dlstHPI" runat="server"
OnItemCommand="DisplayHPIQuestionSet" Visible="False"
BorderColor="ControlLight" Width="220px" Font-Bold="False" ForeColor="Black"
BorderStyle="Inset" BackColor="White" BorderWidth="2px" DataKeyField=""
repeatlayout="flow" FONT-SIZE="11px" Font-Name="Verdana" >
<HeaderStyle Font-Bold="True" BackColor=Navy ForeColor="White"
></HeaderStyle>
<SelectedItemStyle Font-Bold="True" BorderWidth="1px" ForeColor="Red"
BorderStyle="Dotted" BackColor="Black"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#CCCCCC"></AlternatingItemStyle>
<HeaderTemplate >History Of Present Illness</HeaderTemplate>
<ItemTemplate>
<asp:linkbutton id="lbtnHPI" runat="server" text='<%#
rdrHPIList("TemplateName")%>' CssClass="normalText">
</asp:linkbutton>
</ItemTemplate>
</asp:datalist>
<asp:datagrid id="grdRvwOfSys" runat="server"
DataKeyField="DocumentSectionssGUID" AutoGenerateColumns="False">
</asp:datagrid>
<asp:panel id="pnlHPI" Visible="False" BackColor="#CffCCC" Runat="server"
width="800"></asp:panel>
...
In a routine called DisplayHPI I add the datalist (with linkbuttons) to the
panel control
...
With dlstHPI
.ID = "dlstHPI"
.DataSource = rdrHPIList
.DataBind()
.Visible = True
.Style.Item("top") = lblHPI.Style.Item("top") + "400px"
End With
pnlDocument.Controls.Add(dlstHPI)
pnlDocument.Visible = True
...
Here I test the event
...
Public Sub DisplayHPIQuestionSet(ByVal src As Object, ByVal e As
DataListCommandEventArgs)
Response.Write("Show HPI Question Set here")
End Sub
...
Thank you,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Tuesday, August 27, 2002 12:36 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well adams.....
I dont find any fault in adding the datalist to the panel control and
expecting the LinkButton to work. Can u post some part of ur code so i can
check it ....... to help u out !!
keep me posted.....
==============================
S.Ramanujam
Programmer Analyst
Cognizant technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 23, 2002 12:28 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Let me explain it better than I first did.
I have a panel control and a bound datalist control. The datalist consists
of templated items that are linkbuttons. In code I add the datalist to the
panel to control the presentation my UI but then when I run the app and
click on the linkbutton its event does not fire. When I do not add the
datalist to the panel the linkbutton event fires but then my UI is not layed
out as I would like. Any ideas?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 9:28 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well u took the other way.... I just conflic that a button on a panel will
have events and just because that panel is not a data-bound control the
button in it will not have events is a wrong denotion... as u told in the
previous forum.... check it out...
keep me posted of any issues
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Thursday, August 22, 2002 6:52 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Hi Ramanujam,
Are you saying that the linkbutton in the datalist in my aspx page should
not have an event? Then declare the button in aspx.vb code?
Thanks,
David X
-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, August 22, 2002 7:01 AM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
Well david...
Thats not the problem. even i had a panel and a server control
button inside it but still i had the controls events fired. The problem
should be different. as far as i fugured the errors may be one of these
1. You should have created the button during run time and not have added the
event for that button.
2. Even if u have draged amd dropped the button u must be using beta 2
version and the initiaisation of the button control is not written in the VB
code window... so u should have addded it explicitly.
"Protected withevents Button1 as ........."
These are the 2 problems which should be as far as i know... and i
am 100% sure that Panel control being a non-data-bound control its child
control cannot have events fired is not a real issue.... anyway ceck thse 2
things and mail me
keep me posted
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Tuesday, August 20, 2002 7:55 PM
To: ASP+
Subject: [aspx] RE: Not firing event from child control
I thought I had if figured out but according to MSDN...
"Event bubbling is used by the data-bound controls (Repeater, DataList, and
DataGrid) to expose command events raised by child controls (within item
templates) as top-level events."
Since a panel is not a data-bound control how can I get an event from one of
its "child" controls?
Thanks,
David X
-----Original Message-----
From: David Adames [mailto:david@p...]
Sent: Friday, August 16, 2002 8:47 AM
To: ASP+
Subject: [aspx] Not firing event from child control
Hi All,
I'm using Win2000, VS.NET (VB code).
I have an ASPX app with a panel to which I add a datalist. I notice that
the datalist does not respond to events when it is added to the panel but if
I do not add it then it does fire events. Don't events bubble up to the
container object? If so, how do I code that?
Thank you,
David X
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
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.
---
|
|
 |