Author: Scott K | Posted on: 9/25/2009 3:13:53 PM | Views : 433

 I am designing an app for adding calendar events to a database.  I have a series of dropdowns for selecting a start date and another series of drop downs for selecting an end date.  When the user clicks the"Set Times" button, it changes a static integer from 0 to 1 which is examined during page load.....if the integer is equal to 1, it is supposed to fire the SetTimes method which creates a DataTable and fills it with the info (id's) of several drop down lists which are also created in the method.  The datatable is used for looping FindControl through it in a seperate method so the drop down values can be found.   The SetTimes method also creates an html table and fills it with the dropdowns, this is all done on postback and is output to an update panel.
For some reason when the page is first loaded, the user has to click the Set Times button twice for the newly created table containing the drop downs to appear on t ...

Go to the complete details ...