Page 1 of 1

display unhandled Exception

Posted: Thu Jul 27, 2006 5:33 am
by MARIMUTHU K
hi hi hi,

I am writing following fx in Expression


if(PageNumber==1)
"Hi"

this expression wrote and preview, had again Edit Expression display following Errors.

Please find and fix that


An unhandled exception has occurred in a componenet in your application Clik continue and Application will ignore this error and attempt to continue.

Index was out of Range . Must be non-negative and less than the size of the collection.
Parameter name : StartIndex



Regards,
KMarimuthu.

display unhandled Exception

Posted: Thu Jul 27, 2006 10:24 am
by Edward
KMarimuthu wrote:hi hi hi,

I am writing following fx in Expression

if(PageNumber==1)
"Hi"

this expression wrote and preview, had again Edit Expression display following Errors.
Please find and fix that
An unhandled exception has occurred in a componenet in your application Clik continue and Application will ignore this error and attempt to continue.
Index was out of Range . Must be non-negative and less than the size of the collection.
Parameter name : StartIndex

Regards,
KMarimuthu.
Please try following code for the Expression:

Code: Select all

{PageNumber==1 ? "Hi":""}
Thanks!