View Page Compilation Error (v10)

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
snookie
User
Posts: 34

View Page Compilation Error (v10)

Post by snookie »

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


motfs
User
Posts: 258

Post by motfs »

What version you use? Make sure you use the latest version to generate.


snookie
User
Posts: 34

Post by snookie »

I use v10.


motfs
User
Posts: 258

Post by motfs »

You may need to modify the generated file. Or search in template to modify it. Not familiar with V10 as the version is too old.


Post Reply