1
Vote

Crash when not initially visible in a multiview and in an update panel

description

Steps to reproduce:
  1. Create an updatepanel with the content template surrounding everything
  2. Create a mulitview with 2 or more views
  3. Create a button which switches from one view to the other
  4. Paste the example in the second view
  5. Run the program and switch from the initial view, to the one with the mutually exclusive listboxes
  6. Click add or remove
  7. The following error occurs
     
    An exception of type 'System.NullReferenceException' occurred in MutuallyExclusiveListboxesExtender.DLL but was not handled in user code
     
    Additional information: Object reference not set to an instance of an object.
     
     
    I've attached default.aspx from your test program modifed to produce this error. This error occurs in visual studio 2005... I haven't had the time to test in 2008.

file attachments

comments

revision17 wrote Mar 14, 2008 at 4:04 AM

I just realized that there's a bit of code added to the CS file, so here's the whole VS2005 solution. You should just be able to run it, click the "Button" button, and then "add ->" and it should crash with the error above.

wrote Mar 14, 2008 at 4:04 AM

wrote Mar 21, 2008 at 2:38 PM

wrote Feb 2, 2013 at 6:06 AM

tonysolis wrote Oct 30, 2014 at 3:39 AM

While waiting for a response, perhaps you can take a few minutes to check out this ASP.NET AJAX listbox control. I'm using it currently, and just amazing!

tonysolis wrote Oct 30, 2014 at 3:39 AM

While waiting for a response, perhaps you can take a few minutes to check out this ASP.NET AJAX listbox control. I'm using it currently, and just amazing!