CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Warning:An unclosed string constant - Autofill in Update Panel

Print topic Send  topic

Author Message

Posts: 53
Posted: 07/07/2010, 1:08 PM

I have a form on a VB.NET page. The form has a PTAutoFill feature assigned to a dropdown. The form is contained in an update panel named "content_panel". I receive Warning:An unclosed string constant when attempting to generate the page. If I remove the PTAutoFill the error goes away.

The the javascript code at the line number given in the warning shows the following:


However I think the error is in the autofill javascript routine, I suspect the following line is triggering the error.

new Ajax.Request("../services/LookupGroupCode.aspx?keyword=" + encodeURIComponent($("tblAddress1TargetGroup").value).replace(/'/g, "%27"), {  

I think the apostrophe in the /'/ is probably confusing parser. Is there a patch / workaround for this issue?
View profile  Send private message

Posts: 1
Posted: 09/28/2010, 10:34 PM

View profile  Send private message

Posts: 2
Posted: 11/23/2010, 5:47 AM

same problem..
Using PHP and following line gives warning in CCS (Warning:An unclosed string constant. Ln: 134, Col: 200.)

View profile  Send private message

Posts: 12
Posted: 12/13/2010, 10:17 AM

I have the same problem using ASP, just when using PTAutoFill.

Does someone has a solution for this WARNING?

Thanks in advance.

Alcides :(
Alcides Soares FIlho
Clicks to Bricks

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.