Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

.NET Fire custom validator onblur() in textbox, VB.NET

views
     
eueu
post Aug 27 2011, 11:34 AM

Enthusiast
*****
Senior Member
766 posts

Joined: Jan 2003
Can only give you hints, lazy to write the solutions smile.gif

if for Javascript, u can use JSON.
or u can use WebServices (asmx will be enuf)

or more tricky way:
1) add updatepanel to ur page
2) add a hidden button (btnCheckEmail) which to postback to server for CheckEmailExists() function
3) bind a jscript to ur txtEmail to call __doPostBack('btnCheckEmail_ClientId','')
4) bingo~

happy coding rclxm9.gif

This post has been edited by eueu: Aug 27 2011, 11:37 AM
eueu
post Aug 29 2011, 10:01 AM

Enthusiast
*****
Senior Member
766 posts

Joined: Jan 2003
Try to use document.getElementById instead of $get("")

If still cant, read this article.
http://brian.dobberteen.com/code/jquery_aj...stom_validator/



Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0186sec    1.10    6 queries    GZIP Disabled
Time is now: 17th December 2025 - 01:49 PM