Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
27 Points
17 Posts
Feb 23, 2012 05:24 PM|LINK
Refer to:
Dim b As New Button b.Text = "Click" AddHandler b.Click, AddressOf ButtonClick Placeholder1.Controls.Add(b)
http://msdn.microsoft.com/en-us/library/y3bwdsh3.aspx#Y2132
What is the difference between what I have and the example on the above link which adds a button click (client-side) event to a button added at run-time.
cgamage
Member
27 Points
17 Posts
Re: Adding event at runtime
Feb 23, 2012 05:24 PM|LINK
Refer to:http://msdn.microsoft.com/en-us/library/y3bwdsh3.aspx#Y2132
What is the difference between what I have and the example on the above link which adds a button click (client-side) event to a button added at run-time.