Author: taurusrahul | Posted on: 7/26/2008 11:30:04 PM | Views : 253

Hi I am using AJAX WebServices to perform below mentioned functionality

Need to list all the names of students in a list box starting with the Initials typed by the user in a text box . so when user Type in "RA" in text box all the names startig with RB get listed in list box.

To implement this i started working on Ajax WebServices and to try how it works i have written a simple code to just return a string and show alert message of the returned string. but i am getting following javascript erorr messages

1. Expected ":"

2. Object Expected.

 I checked the code and it is same as provided in one of the samles in Asp.net/ajax docs

The Code is as follows:

WebService:

public class CMRList : System.Web.Services. Go to the complete details ...