CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 CC2.05 question

Print topic Send  topic

Author Message
teknofile
Posted: 06/05/2002, 3:44 PM

I've picked up something weird in a project using asp/templates.

I have a page with a record form which has two fields that are validated. If there's no content in these fields, the page displays again. The odd part happens when the page is displayed in "error" mode. ie, if thepage is redisplayed because a user hasn't completed a field.

In the first display, I have a label which displays content from the database, and in the before show event I use the replace method to convert line breaks to <br> tag. It displays fine, with breaks in all the right places. On the second display, the breaks don't appear. Is it something I'm doing wrong ?
teknofile
Posted: 06/05/2002, 3:52 PM

Put it in before show update event, and all works fine...

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

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

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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