CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Update Panel - Please post code

Print topic Send  topic

Author Message
MichaelMcDonald

Posts: 640
Posted: 10/18/2012, 5:00 PM

For some bizarre reason panels, update panels and tabbed views are not visible when published. All are set to visible and there is no custom code or hide/show conditions. I have uninstalled CCS and re-installed too many times and support are pulling their hair out trying to figure out the issue and sometimes they are always polite.

So, would somebody please simply post the HTML code in a reply for an update panel, and if there is something which also needs to be added to the html for the form or grid, post that as well and i will compare with what I am able to generate and at least get an update panel working.
_________________
Central Coast, NSW, Australia.

View profile  Send private message
saseow

Posts: 744
Posted: 10/18/2012, 8:50 PM

Here you go. Using CCS5 and Artisteer. This update panel is just fine. I have no idea what the problem could be with yours but hope this helps (I have removed the actual form code as the posting was too big:

<!-- BEGIN Panel Head -->
<meta name="GENERATOR" content="CodeCharge Studio 5.0.0.16254">
<script language="JavaScript" type="text/javascript">
//Begin CCS script
//Include Common JSFunctions @1-D3B5F5BF
</script>
<script language="JavaScript" src="{page:pathToRoot}ClientI18N.php?file=Functions.js&locale={res:CCS_LocaleID}" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript" type="text/javascript">
//End Include Common JSFunctions

//Include User Scripts @1-CAA84CDD
</script>
<script language="JavaScript" src="{page:pathToRoot}js/pt/prototype.js" type="text/javascript"></script>
<script language="JavaScript" src="{page:pathToRoot}js/pt/ajaxpanel.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//End Include User Scripts

//ContentPanel2Panel1pml_comments1Button_Delete_OnClick @48-0203C474
function ContentPanel2Panel1pml_comments1Button_Delete_OnClick()
{
var result = true;
//End ContentPanel2Panel1pml_comments1Button_Delete_OnClick

//Confirmation Message @49-8243B274
return confirm('Delete record?');
//End Confirmation Message

//Close ContentPanel2Panel1pml_comments1Button_Delete_OnClick @48-BC33A33A
return result;
}
//End Close ContentPanel2Panel1pml_comments1Button_Delete_OnClick

//ContentPanel2Panel1pml_comments1Button_Cancel_OnClick @50-DF6A9706
function ContentPanel2Panel1pml_comments1Button_Cancel_OnClick()
{
disableValidation = true;
return true;
}
//End ContentPanel2Panel1pml_comments1Button_Cancel_OnClick

//Start ContentPanel2 @153-B7D4B858
function ContentPanel2_start(sender) {
var panel = $("ContentPanel2");
if (!panel) return;
panel.onrefresh = function() {
};
AjaxPanel.init(panel);
AjaxPanel._bind(panel);
ContentPanel2_bind(sender);
}
//End Start ContentPanel2

//Refresh ContentPanel2 @153-BE9A5441
function ContentPanel2_bind(sender) {
addEventHandler("ContentPanel2Panel1pml_comments1Button_Delete", "click", ContentPanel2Panel1pml_comments1Button_Delete_OnClick);
addEventHandler("ContentPanel2Panel1pml_comments1Button_Cancel", "click", ContentPanel2Panel1pml_comments1Button_Cancel_OnClick);
}
//End Refresh ContentPanel2

//Refresh ContentPanel2UpdatePanel @229-127F41D6
function ContentPanel2UpdatePanel_refresh(sender) {
var panel = $("ContentPanel2");
if (!panel) return;
AjaxPanel.reload(panel);
}
//End Refresh ContentPanel2UpdatePanel

//bind_events @1-6EA1B88C
function bind_events() {
try { menu_pm_bind_events(); } catch(e) {}
ContentPanel2_start(window);
}
//End bind_events

window.onload = bind_events; //Assign bind_events @1-19F7B649

//End CCS script
</script>
<title>Project Selector</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<!-- END Panel Head -->
<!-- BEGIN Panel Content --> 
<!-- BEGIN Panel Panel2 -->
<!-- BEGIN Record pml_projects -->
<div class="centered">
<form id="ContentPanel2pml_projects" method="post" name="{HTMLFormName}" action="{Action}">
</form>
</form>
</div>
<!-- END Record pml_projects --> 
<!-- BEGIN Panel Panel1 -->
<!-- BEGIN Record pml_comments1 -->
<div class="centered">
<form id="ContentPanel2Panel1pml_comments1" method="post" name="{HTMLFormName}" action="{Action}">

</form>
</div>
<!-- END Record pml_comments1 --><br>
<!-- BEGIN Record pml_commentsSearch -->
<div class="centered">
<form id="ContentPanel2Panel1pml_commentsSearch" method="post" name="{HTMLFormName}" action="{Action}">

</form>
</div>
<!-- END Record pml_commentsSearch --><br>
<div class="centered">
<!-- BEGIN EditableGrid pml_comments -->
<form id="ContentPanel2Panel1pml_comments" method="post" name="{HTMLFormName}" action="{Action}">

</form>
<!-- END EditableGrid pml_comments -->
</div>
<br>
<!-- END Panel Panel1 --><br>
<br>
<!-- END Panel Panel2 --><!-- END Panel Content -->
<!-- BEGIN Panel Menu -->{menu_pm}<!-- END Panel Menu -->

Cheers.
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 10/18/2012, 10:13 PM

thank you. I am very appreciative.
_________________
Central Coast, NSW, Australia.

View profile  Send private message
Waspman

Posts: 948
Posted: 10/19/2012, 8:59 AM

Think I've seen this before.

Try replacing the prototype.js file


T
_________________
http://www.waspmedia.co.uk
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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