Hi,
when I click View on a record, I get an compilation error. The entire compilation error is listed at the bottom of this article.
I have been looking in the *view.vbhtml files and found the erronuous code below. It misses the <text> ...</text> tags, which causes the error.
Is there a proper solution or workaround for this?
----Erroneous code--------------------------------------
@If ew_Empty(test.Export) Then
<script type="text/javascript">
ftestview.Init();
</script>
End If
When I replace it with the code below it is solved:
----Working code--------------------------------------
@If ew_Empty(network.Export) Then@<text>
<script type="text/javascript">
// Write your table-specific startup script here
// document.write("page loaded");
</script>
</text>End If
*Compilation Error:*
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30636: '>' expected.
Source Error:
Line 174:<br />
Line 175:@If ew_Empty(subnetwork.Export) Then
Line 176:<script type="text/javascript">
Line 177:fsubnetworkview.Init();
Line 178:</script>
Source File: D:\Inetpub\wwwroot\testview.vbhtml Line: 176
Compiler Warning Messages:
Show Detailed Compiler Output:
Show Complete Compilation Source:
Regards, snookie