Источник:
http://palleagermark.blogspot.com/20...ebug-flag.html
==============
When you use lookups that are built as user controls, you can get an error like the following error when you cancel the lookup:
A Runtime Error has occured
Line: 198
Error: Sys.ArgumentNull
Exception: Value cannot be null.
Parameter name: panelsDeleting[10]
Here are repro steps to see the bug in Shop Floor Control, which currently seems to be the only place having lookups built as user controls:
- Open EP for an employee setup for SFC
- Go to Shop Floor Control (This puts you in the Electronic timecard)
- Click the "Lock" button
- Click "Add lines"
- Open the lookup for Reference
- Close the lookup without selecting anything, by clicking the webpage somewhere not in the lookup
- Try to use any other lookup or move to another record in the grid, if you have more than one line in the grid
The bug is related to a bug in AJAX when it runs in debug mode. If you have debug="true" in the web.config file, change it to debug="false".
Источник:
http://palleagermark.blogspot.com/20...ebug-flag.html