Author: rareddy | Posted on: 11/17/2010 12:03:07 PM | Views : 912

As the tree said to the lumberjack, "I'm stumped".  I've been doing .net for years, and my brain is in vapor lock...

Very simple here.. I have a user control which has a dropdown list, and a button on it.  The DDL is databound.  When the button is clicked, I want to retrieve the value of the dropdownlist.   I check to see if the page is a postback and if not, I bind the DDL.

I put my user control on my master page.
When the button is clicked, the value of the dropdown is not obtainable.  The selectedvalue is empty.  I figure this has something to do with the order of the page being regenerated.
So how do I get this value?



...

Go to the complete details ...