'Select' control problem using code behind class to trap 'Submit' button click
I'm trapping a 'submit' button's 'Click' event in a VB.Net code behind class
in order to loop through a 'Select' controls 'option' list as follows:
For Each ThisItem In Me.MySelect.Items
If ThisItem.Selected = True Then
' Do something
I am able to read other controls, such text input, in the code behind class
but my 'select' control is showing
as not having any items present even though there are items shown when it is
Is ASP.Net clearing the control before I can gain access to it? Is there
some reason it is showing as being empty (i.e. 0 items)?
|All times are GMT. The time now is 07:04 AM.|
SEO by vBSEO ©2010, Crawlability, Inc.