allow all currency symbols

From: magister (yurps_at_yahoo.co.uk)
Date: 10/20/04


Date: 20 Oct 2004 02:48:17 -0700

Hello,

Is there a way I can validate the input on a textbox for currency
including all currency symbols..

At the moment I have it only for the current culture info, but most
banks use several different currencies...

Thanks for any clues....

Here's what I have so far...

try
{
Result = Double.Parse(args.Value, NumberStyles.Any);
done = true;
}
catch
{
done = false;
}
                        
if (done)
{
args.IsValid = true;
}
else
{
args.IsValid = false;
}