Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jun 22, 2007 10:21 PM|LINK
This is intereesting. ListSearch only causes double postback when a breakpoint is set. I put together the following code. If you set a breakpoint anywhere in the code-behind, clicking the ListSearch-enabled DropDownList will post back twice. But if you
do not have a breakpoint, it posts back once. It still is behavior that doesn't occur without the ListSearch, but at least it isn't REALLY posting twice. Any idea why this is occurring?
DropDownList without ListSearch. Click on
DropDownList with ListSearch. Click on a
Label2.Text = dropDownListPostCount.ToString();
dropDownListPostCount = -1;