CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 HtmlTemplate.SetVar()

Print topic Send  topic

Author Message
Robert Rodgers
Posted: 11/23/2003, 10:37 AM

Hi,

CCS 2.2.2.40
ASP.

I have used

HTMLTemplate.SetVar "@VarName", "VarValue"

successfully in a normal CCS page. But it doesn't seem to work in an
included page. By successful I mean that I populate the varname and value
with fields from a database so the user can dynamicly change the appearence
and values of CCS script tags I place in the HTML.

This all works great for a normal page, It doesn't replace them on Include
pages.

Is anyone else using this method in an Include page?

Thanks.

rob.

Vic
Posted: 11/27/2003, 3:57 AM

Try
EventCaller.HTMLTemplate.SetVar "@VarName","zzzzzzzzzzzzzzzzzzzzzzzzz"
or
<your incl page name>.HTMLTemplate.SetVar
"@VarName","zzzzzzzzzzzzzzzzzzzzzzzzz"
or use label control


> Hi,
>
> CCS 2.2.2.40
> ASP.
>
> I have used
>
> HTMLTemplate.SetVar "@VarName", "VarValue"
>
> successfully in a normal CCS page. But it doesn't seem to work in an
> included page. By successful I mean that I populate the varname and value
> with fields from a database so the user can dynamicly change the
appearence
> and values of CCS script tags I place in the HTML.
>
> This all works great for a normal page, It doesn't replace them on Include
> pages.
>
> Is anyone else using this method in an Include page?
>
> Thanks.
>
> rob.
>


Robert Rodgers
Posted: 11/27/2003, 3:36 PM

Thanks.

That was it.



rob
"Vic" <victor_tci@mail.ru> wrote in message
news:bq4oro$17d$1@news.codecharge.com...
> Try
> EventCaller.HTMLTemplate.SetVar "@VarName","zzzzzzzzzzzzzzzzzzzzzzzzz"
> or
> <your incl page name>.HTMLTemplate.SetVar
> "@VarName","zzzzzzzzzzzzzzzzzzzzzzzzz"
> or use label control
>
>
> > Hi,
> >
> > CCS 2.2.2.40
> > ASP.
> >
> > I have used
> >
> > HTMLTemplate.SetVar "@VarName", "VarValue"
> >
> > successfully in a normal CCS page. But it doesn't seem to work in an
> > included page. By successful I mean that I populate the varname and
value
> > with fields from a database so the user can dynamicly change the
> appearence
> > and values of CCS script tags I place in the HTML.
> >
> > This all works great for a normal page, It doesn't replace them on
Include
> > pages.
> >
> > Is anyone else using this method in an Include page?
> >
> > Thanks.
> >
> > rob.
> >
>
>
>


   


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.