Perfect! Thanks Peter. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Peter Brunone (EasyListBox.com) Sent: Wednesday, April 11, 2007 12:01 PM To: thelist at lists.evolt.org; thelist at lists.evolt.org Subject: Re: [thelist] .NET: AutoPostBack on Items Added programmatically Hi Casey, Since you're adding an event handler, you need to use the following syntax: AddHandler drpBuilderBigNo.SelectedIndexChanged, AddressOf drpBuilderBigNo_SelectedIndexChanged ...and then you would define the sub itself this way: Protected Sub drpBuilderBigNo_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) ' do stuff End Sub Cheers, Peter ---------------------------------------- From: "Casey Crookston" caseyc at IntelliSoftmn.com Hi, I am adding rows to a table programmatically. In one of the table cells, I am adding a drop down list as such: Dim drpBuilderBigNo As New DropDownList [cut a bunch of lines of code] drpBuilderBigNo.AutoPostBack = True drpBuilderBigNo.?????????? TableCell1.Controls.Add(drpBuilderBigNo) -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !