ASP.NET c# and pin checking

  • Thread starter Mateusz [PEYN] Adamus
  • Start date
M

Mateusz [PEYN] Adamus

Hi

I'm writing page in asp.net using c#.

On this page I have a form. User enters his pin into the form and clicks
"send". I'd like to check the pin user entered 2 times - one (on
clients side) when he clicked "send" and the second time - on serwer, in
asp.net application.

First I thought about javascript on clients side but maybe there is some
way for avoiding writing same procedure in c# and JS??

I don't know - maybe some c# applets? I'm gessing now. Maybe a modified
web control?

Is it possible at all?

best regards
Mateusz [PEYN] Adamus
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

No, its not

What is what you are checking anyway? the pin structure ?

cheers,
 
M

Mateusz [PEYN] Adamus

Ignacio Machin ( .NET/ C# MVP ) napisa³(a):
Hi,

No, its not

What is what you are checking anyway? the pin structure ?


Hi

The pin is something like an EAN number - it has a control number which
is calculated from the number


best regards
Mateusz [PEYN] Adamus
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,


As I told you the best way is doing what you are doing, using javascript in
the client and a separated method in the server, javascript & c# syntax is
pretty similar so both methods will look much alike.


cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


Mateusz [PEYN] Adamus said:
Ignacio Machin ( .NET/ C# MVP ) napisa³(a):
Hi,

No, its not

What is what you are checking anyway? the pin structure ?


Hi

The pin is something like an EAN number - it has a control number which is
calculated from the number


best regards
Mateusz [PEYN] Adamus
 
M

Mateusz [PEYN] Adamus

Ignacio Machin ( .NET/ C# MVP ) napisa³(a):
Hi,


As I told you the best way is doing what you are doing, using javascript in
the client and a separated method in the server, javascript & c# syntax is
pretty similar so both methods will look much alike.


Thanks

best regards
Mateusz [PEYN] Adamus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top