D
denappel
Hi all,
We're currently developping an asp.net 2.0 project, and ran into a
problem with the new menu control.
At the first load of the page, no errors are generated, but after a
first postback an error pops up when hovering over a menu item:
"Error: '0.cells' is null or not an object"
the error is located in the client script function
function Menu_HideItems(items) {}
....
for(i = 0; i < rows[0].cells.length; i++) {
....
in this line the length of the rows array = 0, what generates an error.
the rows array should give the menu row, what fails here. A wrong item
is considered as the menu, and therefore gives an error.
When searching deeper it seems that the function
Has anyone had this kind of error with the menu control?
The controls' viewstate is enabled, that cannot be the problem.
Can I change the clientscript that is generated by the menu control to
avoid this error?
If anyone can help, that would be great!
tnx in advance,
Kind Regards,
Koen Appeltans
We're currently developping an asp.net 2.0 project, and ran into a
problem with the new menu control.
At the first load of the page, no errors are generated, but after a
first postback an error pops up when hovering over a menu item:
"Error: '0.cells' is null or not an object"
the error is located in the client script function
function Menu_HideItems(items) {}
....
for(i = 0; i < rows[0].cells.length; i++) {
....
in this line the length of the rows array = 0, what generates an error.
the rows array should give the menu row, what fails here. A wrong item
is considered as the menu, and therefore gives an error.
When searching deeper it seems that the function
Has anyone had this kind of error with the menu control?
The controls' viewstate is enabled, that cannot be the problem.
Can I change the clientscript that is generated by the menu control to
avoid this error?
If anyone can help, that would be great!
tnx in advance,
Kind Regards,
Koen Appeltans