I added a custom button and use it to open a custom dialog box. I get an error "Name Editor1 not declared" error in the window where the dialog box should appear. The error message refers to this line:
// get the cute editor instance
var editor1 = document.getElementById('<%=Editor1.ClientID%>');
Any idea what's going on? Thanks in advance!