Hi Ray,
Something like this will probably do:
this.button1.Click += new System.EventHandler(this.button1_Click);
void button1_Click(object sender, System.EventArgs e)
{
// Do something
}
Martin
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of sindarintech
Sent: Tuesday, June 28, 2005 5:39 PM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Coding events for a dynamically created
radio button
Hi! I've inherited an application that has a dynamically-created list
built using a reader and a stored proc. The list creates radio buttons
dynamically based on flags returned from the proc.
Is there any way that I can tie an event to these radio buttons to
capture when they're clicked?
Thanks in advance!
Ray
Yahoo! Groups Links
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/