Jan 02, 2014, 7:41 AM
[OPEN] [#413] // Remark in javascript in a DirectEvent Loaded UserControl causes SyntaxError: missing } after property list
This code inside ascx control that is Rendered during a DirectEvent
<ext:Container ID="Cont" runat="server" Flex="1">
<HtmlBin>
<script type="text/javascript">
var Map = {
map: function (center) {
var mapOptions = {
center: center //new google.maps.LatLng(this.center[0], this.center[1])
};
}
};
</script>
</HtmlBin>
<Items>
<ext:Label ID="Label1" runat="server" Html="Inner" />
</Items>
</ext:Container>
I'm assuming the issue is the exclusion of a newline. It does not occur if wrapped in /* */
Last edited by Daniil; Jan 06, 2014 at 1:36 PM.
Reason: [OPEN] [#413]