Author: rlthomas3 | Posted on: 10/25/2009 8:09:37 PM | Views : 908

 I'm trying to use a dropdownlist to determine the number of dynamic controls to create. When is select a number from the dropdown, I want to generate that many dynamic controls. My problem is that I wish to generate the dynamic controls once the dropdown list is selected, not after the page goes through another life cycle. So using the selectedIndexChanged event trigger wont allow me the generate the correct number. Seems I could use  __EVENTARGUMENT to get the selected item so I can determine how many dynamic controls to create in Oninit. Can anyone explain how the use __EVENTARGUMENT? How does it get set.
Here is portions of my code
<
form id Go to the complete details ...