wvjim Posted December 16, 2003 Posted December 16, 2003 I don't seem to be able to tell when I'm making the first entry in a dropdown list. The statement 'If ddlPlaintiff.SelectedIndex = 0 Then' should accomplist that purpose as near as I can tell but doesn't. The SelectedIndex is at 0 when each of the entries are added to the list. Thanks In Advance Quote
zubie Posted December 16, 2003 Posted December 16, 2003 What do you mean by making the first entry? is this when you are adding to the list or selecting from it? Quote
wvjim Posted December 16, 2003 Author Posted December 16, 2003 When I'm populating it. I also have a problem when selecting from it. I would have assumed that when I select an entry from a dropdown list it would function similarly to VB6 in that an event would be fired. That event would appear to be 'SelectedIndexChanged'. That fires only after clicking on a button that has an event associated with it. Quote
kahlua001 Posted December 16, 2003 Posted December 16, 2003 Do you have AutoPostBack = True Are you checking for PostBack? Quote
wvjim Posted December 16, 2003 Author Posted December 16, 2003 I did not have AutoPostBack! Thank you very much. Problem resolved. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.