Thanks Reply With Quote 08-30-2007,03:54 PM #5 webdev5 View Profile View Forum Posts Registered User Join Date Aug 2007 Posts 4 Form_Load Example Please Will you give me an example of All the wireups and properties were set correctly, it SHOULD have worked fine. Restartin VS 2005 fixed the issue. :O share|improve this answer answered Apr 20 '09 at 7:25 Nike add a comment| up vote -1 down vote Rather than using AutoPostBack="true" set the Proposed as answer by CNU Monday, November 08, 2010 5:39 PM Tuesday, January 05, 2010 2:10 PM Reply | Quote 0 Sign in to vote Thanks a lot Sreeya. check over here
So, start by checking your HTML. Looking in the codebehind, though, it's still not working. Wednesday, October 28, 2009 11:51 AM Reply | Quote 0 Sign in to vote Hi, I also had the same problem that SlectedIndexChanged event wouldn't fire. After setting the AutoPostBack property to true, the event started firing. http://forums.asp.net/t/1687163.aspx?Autopostback+not+working
Pick Randomly Between -1 or 1 Can spacecraft defend against antimatter weapons? Also you may want to think about using an UpdatePanel so that it doesnt reload the whole page. Applies to buttons as well as dropdownlists.
u have div with id "dropdown_fullwidth_item_right" inside that u have declared another form (u can simply find keyword form in u r master code) this is classic case of multiple form I thought, I was doing something wrong with my ASP code. Notice there is no index '.Items.Add(New ListItem("Test")) 'This method allows you to give your item an index. Updatepanel Dropdownlist Selectedindexchanged Not Firing Best regards /T.Saxeggen Proposed as answer by T.Saxeggen Monday, November 09, 2009 12:10 PM Monday, November 09, 2009 12:00 PM Reply | Quote 0 Sign in to vote thanks sreeya it
Which without could be causing problems. .Items.Insert(i, New ListItem("Item-" & i, "Item-" & i)) End With Next End If End Sub Protected Sub dlTest_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Asp.net Selectedindexchanged Not Firing I'm not sure I understand your solution. Saturday, November 26, 2011 2:56 AM Reply | Quote 1 Sign in to vote Make sure you don't have an element in your form with ID "submit". http://stackoverflow.com/questions/8099848/dropdownlist-not-posting-back-even-with-autopostback-set My misstake was that I hadn't set the attribute AutoPostBack="True" on the dropdownlist.
So i put the databinding and the function that would read it out for other purposes in the Page_PreInit, et voila, it worked like a charm!!! Theform.submit Is Not A Function share|improve this answer edited Nov 11 '11 at 21:42 answered Nov 11 '11 at 21:27 KreepN 6,88812245 Not sure I follow you. Similar topics postback problem in creation of dynamic dropdownlist. Is there a way to block an elected President from entering office?
According to this MSDN article (http://msdn.microsoft.com/en-us/library/ms178141(v=VS.85).aspx) based on the results on the page load I'm doing a "Server Transfer" rather than the desired Postback (IsPostBack is false, PreviousPage is, as expected, My first attempt was to use