Last post Sep 29, 2008 07:41 AM by nppatel
Sep 29, 2008 05:34 AMemail@example.com|LINK
I am using dynamic controls on a Web Page. I retrieve the count of the controls from database.
Create that number of dropdowns on my page. Each dropdown contains some urls.
I have place a image button beside each drop down dynamically.
I want a new browser window to be opened and take me to the url that has been selected in the combo when i click the image button.
problem here is whenever i select a value the drop down is posting back, the page post back again when i click on image button.
I want the post back to happen only once when i click on the image button.
I have tried using dropdownlist.Autopostback=false; it didnt work.with this i have to click on image button twice to open the browser window.
Sep 29, 2008 07:41 AM|nppatel|LINK
Does dropdown are generated dynamically??
otherwise check AutoPostBack property of dropdown is set to false or not.