tags:

views:

998

answers:

1

Hi guys, i am using textbox(txtFileType) with event OnFocus=("this.blur();"), so i cant use textchanged event for this textbox, i have written a vb code to calculate my FileNumber using Storeprocedures based on the value of textbox(txtFileType). can i call this vb code from javascript which can be used in clientside.. please help with an example.. or any other possible ways..

+1  A: 

i assume your vb code is going to reside on the server side. you can expose the server side method as a service and invoke it using javascript. For ajax purpose you can probably look at this tutorial from Microsoft itself.

Vikram