slow Label update

D

Durango2008

I have a C# .NET webapp that I am working on. I setup a textbox that gets
validation performed on it, and if there is an error upon validation on the
input I set a label to inform the user what the error is.
For example I have a text field that takes in a telephone number and
validation is performed to see if the the input is of correct format for a
number.
If it is not a label will display that the user put in the wrong format for
a telephone number.

The problem is that while this works I have a delay on which this label gets
updated.
I am not sure if my code can be redone to get rid of this issue or not.
I do not want to write pure Javascript for clientside validation and rather
keep it all with .NET code.

anyone have any suggestions?

thank you for any advice.
 
C

Cor Ligthert[MVP]

Durango.

Have a look at Ajax, that is most probably the solution for you.

Cor
 

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