CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Help I'm newbie in code charge

Print topic Send  topic

Author Message
dhila

Posts: 6
Posted: 07/01/2013, 2:31 AM

I wanna ask. what is meant by "Warning: Preview: Error Occurred in 65 line (char 1): Expected '}'
"?
_________________
testing
View profile  Send private message
jekes

Posts: 36
Posted: 07/01/2013, 10:02 AM

Hi,

CodeCharge works with tags and attributes in the html pages.
When you retrieve values from database in a editable grid for exemple, CodeCharge place a tag in order to declare the editable grid and place the database value into.
Switch to html mode to show the codecharge tags in green.
Then in html mode, if you want to apply a custom style with div for exemple, you can delete table td tr ..., just keep codecharge tags)

Exemple :

<!-- BEGIN EditableGrid "your_grid" -->
<!-- BEGIN Row -->
{your_database_field}
<!-- END Row -->
<!-- END EditableGrid "your_grid" -->

Maybe, for your problem, the declaration of your attribute don't end, so swith to html mode and add " } " at the end of you attribute.

Post your html code if my explanations are not clear (french traduction).
View profile  Send private message
dhila

Posts: 6
Posted: 07/03/2013, 4:41 AM

Hai.
thanks for ur help.

and how about "Warning:Preview: Error occured in 123 line ( char 13 ): 'null' is null or not an object".
i'm making "modal window". i tried using artesteer template, modal window can't show, but i tried using manual template modal show can show. what's wrong?
_________________
testing
View profile  Send private message
jekes

Posts: 36
Posted: 07/04/2013, 12:46 PM

Hi

The id of the element is not found (maybe that why you have 'null').

Here my method to use dialog panel with CCS5.0, thank's to the guy who post a topic on it (i don't find the post anymore, he will recognize the variable ...)

Create an update panel (panel1)
Place a grid into panel1
Place a dialog panel into panel1 (panel2)
Place a record grid into panel2

A the begining of your javascript code
Place this code
var doOpenDialog = false;

Assign feature to panel1 (clientcustomcode1)
Start event Panel1->grid->new link->onclick and Panel1->grid->edit link->onclick
Place this code
doOpenDialog = true;

Assign feature (clientcustomcode2) to panel1
Start event Panel1->Panel2->record grid->onload
Place this code
if (doOpenDialog) Panel1Panel2YahooPanel1_show();  
else Panel1Panel2YahooPanel1_hide();

Assign feature (clientcustomcode3) to panel1.
Start event : Panel2->YahoPanel1->onhide
Place this code
doOpenDialog = false;

Send me a PM with your mail, i can send you the project.

Bye.
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 http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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