473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

ASP.NET c# and pin checking

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
Nov 17 '05 #1
4 1791
Hi,

No, its not

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

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Mateusz [PEYN] Adamus" <pe************@tlen.pl> wrote in message
news:d4**********@nemesis.news.tpi.pl...
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

Nov 17 '05 #2
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
Nov 17 '05 #3
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" <pe************@tlen.pl> wrote in message
news:d4**********@nemesis.news.tpi.pl...
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

Nov 17 '05 #4
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
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ville Mattila | last post by:
Hello readers, I'm trying to install the latest PHP4 version from the scratch. The configure string is following: ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-curl...
7
by: - ions | last post by:
I have created a JComboBox with its Items as a list of "M" numbers ie. M1,M2,M3.......throgh too M110 (thes are the messier objects, a catolouge of deep sky objects) the user selects of of these...
5
by: Tongu? Yumruk | last post by:
I have a little proposal about type checking in python. I'll be glad if you read and comment on it. Sorry for my bad english (I'm not a native English speaker) A Little Stricter Typing in Python...
6
by: Web Developer | last post by:
Hi, I come across the term "type checking" very often in my readings on C++, and have never heard it in Java. Besides the simplistic answer that it checks the "type", what more does it mean? ...
22
by: Qopit | last post by:
Hi there, I'm pretty new to Python and am trying to figure out how to get "will this code compile?"-like code checking. To me this is a pretty basic language/environment requirement, especially...
4
by: Patient Guy | last post by:
Does anyone have any coding rules they follow when doing argument checking? When arguments fail during check, do you return from the call with an ambiguous return value, or do you throw...
16
by: lawrence k | last post by:
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
7
by: polas | last post by:
Afternoon everyone. I have a quick question about standard C. Generally speaking, in my experience, whenever one accesses an array there is never any bounds checking done (either statically...
4
by: BillE | last post by:
I have found articles on line about using word interop for spell checking with visual studio applications. Most of the articles are several years old, though - VS2003, maybe 2005. I couldn't...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.