CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to insert Translation Resources into ASP Code?

Print topic Send  topic

Author Message
Andres Rormoser
Posted: 02/09/2006, 4:43 AM

I can put translated resources into my HTML code, but how can i insert these resources in
my ASP Events Page? I tried somethig like this:

if CodigoCount <> 1 then
Presupuesto.Errors.AddError "{res:Presupuesto}"
end if

But it didn't work.

Thanks, Andres Rormoser

Walter Kempees
Posted: 02/09/2006, 7:53 AM

There are some hints in the Tips-and-solutions Forum.

This is how I did it (PhP) for Event on Validate, trapping an error:
  
// -------------------------  
    // Write your own code here.  
// -------------------------  
 global $CCSLocales;  
  
  if ($formname->date_from->GetValue() > $formname->date_to->GetValue() ){  
      $formname->{Errors}->addError(CCSLocales->GetText('Period_incorrect');  
 }  
//End Custom Code  



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.