.NETGURU
Consuming user control event from inside datagrid/datalist
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngreuse' list.


Curtis Swartzentruber
-- Moved from [aspngwebcontrols] to [aspngreuse] by Ryan Trudelle-Schwarz <Click here to reveal e-mail address> --

Hi,

I'm using several user controls inside a
datalist edititem template. I've been playing
around with getting the focus to move to the right
place after a postback initiated by the user
control. I already have an event defined that
is triggered when the main public property of
the control is set, but not sure how to consume
it from the aspx page. I know how to get at the
event if the user control is a "top-level" control
(not embedded inside another control), but can't
seem to figure it out in this scenerio.

Regards,

Curtis

Reply to this message...
 
    
Daniel Naumann
Curtis,

This isn't really the answer you're looking for, but maybe the OnBubbleEvent
method might give you some ideas or shed some light on the matter.
Here is a link to the VS.NET docs if you have them:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemWebUIControlClassOnBubbleEvent
Topic.htm

Daniel.

-----Original Message-----
From: Curtis Swartzentruber [mailto:Click here to reveal e-mail address]
Sent: 27-Jun-2002 06:11
To: aspngreuse
Subject: [aspngreuse] Consuming user control event from inside
datagrid/datalist

-- Moved from [aspngwebcontrols] to [aspngreuse] by Ryan Trudelle-Schwarz
<Click here to reveal e-mail address> --

Hi,

I'm using several user controls inside a
datalist edititem template. I've been playing
around with getting the focus to move to the right
place after a postback initiated by the user
control. I already have an event defined that
is triggered when the main public property of
the control is set, but not sure how to consume
it from the aspx page. I know how to get at the
event if the user control is a "top-level" control
(not embedded inside another control), but can't
seem to figure it out in this scenerio.

Regards,

Curtis
| [aspngreuse] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngreuse.asp = JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification