Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 30, 2012 03:42 AM by chetan.sarode
Jul 29, 2012 06:55 AM|LINK
I did not get a response in the ASP.NET WebForms forum so I'm hoping someone in this forum can help me resolve this problem.
I'm using an Accordion control in which I drop two DropDownList controls inside one of the Accordion Pane. When I select an item in the first DropDownList control, it is supposed to trigger an event to re-populate the items of the second DropDownList control
based on the item selected in the First DropDownList control. I set the onSelectedIndexChanged="doSomeProcess()" of the first DropDwonList control. But whenever I select an item on the first DropDownList control, I get this error message "Error: Sys.InvalidOperationException:
Handler was not added through the Sys.UI.DomEvent.addHandler method."
How do I set events for DropDownList controls inside an Accordion Pane? Is there something I'm missing here?
Jul 29, 2012 12:38 PM|LINK
there should be some problem at the server,
please use fiddler and check the request and response whats going
Jul 30, 2012 02:36 AM|LINK
I'm sorry, I'm new to Visual Studio 2010, can you tell me what 's the fiddler? Also, once I select an item on the first DropDownList control the ViewState is lost (all of the choices in the first DropDownList disappears) I assume a postback does occur but
the viewstate is lost and the onSelectedIndexChange procedure is not called for some reason. I put in some Reponse.Write() statement inside the onSelectedIndexChanged procedure and it does not get called at all. I don't know why the onSelecgtedIndexChanged
event procedure is not being callled if a postback occurs. Any ideas why this is happening or how to fix it?
Jul 30, 2012 02:40 AM|LINK
Also, I'm getting the error in Visual Studio 2010 when I'm debugging my application. I haven't deployed my application to a server yet.
Jul 30, 2012 03:42 AM|LINK