Hi!
I have set the doctype to xhtml:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When setting this, some new browsers works differenty. For example the following lines of code will give error in both Opera 10.51 and Firefox 4 Alpha:
var tableElement = document.createElement('TABLE');
...
var row = tableElement.insertRow(-1);
This code is copied from the RadWindow.js.
The reason is that when upper case is used (TABLE), then a generic html element is created and the insertRow function will not be valid.
Instead the following code would work:
var tableElement = document.createElement('table');
...
var row = tableElement.insertRow(-1);
When searching your javascript code, this error may exist in more controls, but for now my only problem is the RadWindow that wont open for this reason.
An other similar problem that I have experienced with my own javascript is that getElementsByTagName also should be used with lower case. Found many places in your code that are using this function with upper case. I haven't verified any errors in RadControls with this function, but there should be...
Regards
Rikard
I have set the doctype to xhtml:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When setting this, some new browsers works differenty. For example the following lines of code will give error in both Opera 10.51 and Firefox 4 Alpha:
var tableElement = document.createElement('TABLE');
...
var row = tableElement.insertRow(-1);
This code is copied from the RadWindow.js.
The reason is that when upper case is used (TABLE), then a generic html element is created and the insertRow function will not be valid.
Instead the following code would work:
var tableElement = document.createElement('table');
...
var row = tableElement.insertRow(-1);
When searching your javascript code, this error may exist in more controls, but for now my only problem is the RadWindow that wont open for this reason.
An other similar problem that I have experienced with my own javascript is that getElementsByTagName also should be used with lower case. Found many places in your code that are using this function with upper case. I haven't verified any errors in RadControls with this function, but there should be...
Regards
Rikard