Click here to Skip to main content
15,885,216 members

Comments by Richard A. Dalton (Top 15 by date)

Richard A. Dalton 3-Nov-10 9:24am View    
Yeah, that link is for NMock2 which isn't really developed any more. NMOck3 took over where that left off, but I think it's developed by different people.

Anyhoo, I've given up on this. It works with C#, can't get it working with VB.Net. Perhaps there's a way, but life's too short.

Back to Rhino Mocks I guess.

-Richard
Richard A. Dalton 11-Oct-10 9:50am View    
Hi Ed, thanks for that.
I'm just waiting for a moment of the IIS Gnome's time to check that out.

One thing though. One of the first experiments tried was to get the FileUploadControl to drop the uploaded file directly into the main directory of the Website. And I still got the same issue.
I'm assuming that IUSR_MachineName (or whatever) would have Read access to that folder.
-Rd
Richard A. Dalton 28-Sep-10 11:44am View    
You sure did.
Thanks.
Richard A. Dalton 28-Sep-10 11:43am View    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
Richard A. Dalton 28-Sep-10 11:04am View    
OK, so what I've done is this. Don't know if it's ideal.
In my page load I fill a hidden Listbox with the valid currencies.
My CustomValidator fires a javascript function that loops through the items in the listbox looking for the currency.

It's working.

Next step, I need to also check the status of the currency. So my Listbox will have items that include the 3 char ccy code plus two chars for status...e.g.

EURUA

To find the currency I search the listbox for a string where the left 3 chars match the ccy entered by the user.
Then I check the remaining two chars to ensure the status is ok.

This crap with the save button was the kick in the ass I needed to do this all on the client.

-Rd