var autocomplete=function() {
autocomplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
autocomplete.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return autocomplete._staticInstance.get_path();},
GetEventsList:function(prefixtext,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixtext" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetEventsList',false,{prefixtext:prefixtext,count:count},succeededCallback,failedCallback,userContext); }}
autocomplete.registerClass('autocomplete',Sys.Net.WebServiceProxy);
autocomplete._staticInstance = new autocomplete();
autocomplete.set_path = function(value) {
autocomplete._staticInstance.set_path(value); }
autocomplete.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return autocomplete._staticInstance.get_path();}
autocomplete.set_timeout = function(value) {
autocomplete._staticInstance.set_timeout(value); }
autocomplete.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return autocomplete._staticInstance.get_timeout(); }
autocomplete.set_defaultUserContext = function(value) { 
autocomplete._staticInstance.set_defaultUserContext(value); }
autocomplete.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return autocomplete._staticInstance.get_defaultUserContext(); }
autocomplete.set_defaultSucceededCallback = function(value) { 
 autocomplete._staticInstance.set_defaultSucceededCallback(value); }
autocomplete.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return autocomplete._staticInstance.get_defaultSucceededCallback(); }
autocomplete.set_defaultFailedCallback = function(value) { 
autocomplete._staticInstance.set_defaultFailedCallback(value); }
autocomplete.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return autocomplete._staticInstance.get_defaultFailedCallback(); }
autocomplete.set_path("/webservice/autocomplete.asmx");
autocomplete.GetEventsList= function(prefixtext,count,onSuccess,onFailed,userContext) {
/// <param name="prefixtext" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
autocomplete._staticInstance.GetEventsList(prefixtext,count,onSuccess,onFailed,userContext); }

