Events inside an ASP.NET Ajax Accordion control?http://forums.asp.net/t/1828700.aspx/1?Events+inside+an+ASP+NET+Ajax+Accordion+control+Mon, 30 Jul 2012 03:42:40 -040018287005086631http://forums.asp.net/p/1828700/5086631.aspx/1?Events+inside+an+ASP+NET+Ajax+Accordion+control+Events inside an ASP.NET Ajax Accordion control? <p>Hi,</p> <p>&nbsp;</p> <p>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.</p> <p>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=&quot;doSomeProcess()&quot; of the first DropDwonList control. But whenever I select an item on the first DropDownList control, I get this error message &quot;Error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.&quot;</p> <p>How do I set events for DropDownList controls inside an Accordion Pane? Is there something I'm missing here?</p> <p>Thanks,</p> <p>Hang</p> 2012-07-29T06:55:32-04:005086846http://forums.asp.net/p/1828700/5086846.aspx/1?Re+Events+inside+an+ASP+NET+Ajax+Accordion+control+Re: Events inside an ASP.NET Ajax Accordion control? <p>there should be some problem at the server,&nbsp;</p> <p>please use fiddler and check the request and response whats going</p> 2012-07-29T12:38:29-04:005087147http://forums.asp.net/p/1828700/5087147.aspx/1?Re+Events+inside+an+ASP+NET+Ajax+Accordion+control+Re: Events inside an ASP.NET Ajax Accordion control? <p>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?</p> <p>Thanks,</p> <p>Hang</p> 2012-07-30T02:36:00-04:005087149http://forums.asp.net/p/1828700/5087149.aspx/1?Re+Events+inside+an+ASP+NET+Ajax+Accordion+control+Re: Events inside an ASP.NET Ajax Accordion control? <p>Hi Mudasir.Khan,</p> <p>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.</p> <p>Thanks,</p> <p>Hang</p> <p></p> 2012-07-30T02:40:39-04:005087206http://forums.asp.net/p/1828700/5087206.aspx/1?Re+Events+inside+an+ASP+NET+Ajax+Accordion+control+Re: Events inside an ASP.NET Ajax Accordion control? <p>Refer this</p> <p><a href="http://damianblog.com/2007/08/13/not-added-through-addhandler/">http://damianblog.com/2007/08/13/not-added-through-addhandler/</a></p> <p><a href="http://forums.asp.net/t/1055781.aspx">http://forums.asp.net/t/1055781.aspx</a></p> 2012-07-30T03:42:40-04:00