[Mono-bugs] [Bug 74682][Maj] New - problem with custom controls names in aspx pages witch effects javascript
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 04:49:35 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by simas@jip.lt.
http://bugzilla.ximian.com/show_bug.cgi?id=74682
--- shadow/74682 2005-04-21 04:49:35.000000000 -0400
+++ shadow/74682.tmp.18579 2005-04-21 04:49:35.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 74682
+Product: Mono: Compilers
+Version: 1.0
+OS: All
+OS Details: fedora 2
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: simas@jip.lt
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: problem with custom controls names in aspx pages witch effects javascript
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. created custom control .ascx
+2. put ritch text compiled control
+3. then my own control is put into the page .aspx
+
+Actual Results:
+
+form mono run time generated page comes with error because name is formed
+like this <custom control name>:<control name>
+
+egz:
+<script>CustomControl:RTFEdit_TextTextBox.document.designMode='on';
+</script>
+
+javascript does not understand that and shows error in ':' place
+
+
+Expected Results:
+
+with .net runtime is ok there is no ':' instead is generated $ that is
+suitable for javascript names
+egz:
+
+<script>CustomControl$RTFEdit_TextTextBox.document.designMode='on';
+</script>
+
+How often does this happen?
+
+always
+
+Additional Information:
+
+without custom controls there is no problem