var DDLService=function() {
DDLService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DDLService.prototype={
GetSport:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetSport',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetDivision:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetDivision',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetTeam:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetTeam',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetTownshipList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetTownshipList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetRelationList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetRelationList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetSchoolList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetSchoolList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetPlayerList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetPlayerList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCoachList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(DDLService.get_path(), 'GetCoachList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
DDLService.registerClass('DDLService',Sys.Net.WebServiceProxy);
DDLService._staticInstance = new DDLService();
DDLService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; DDLService._staticInstance._path = value; }
DDLService.get_path = function() { return DDLService._staticInstance._path; }
DDLService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
DDLService._staticInstance._timeout = value; }
DDLService.get_timeout = function() { 
return DDLService._staticInstance._timeout; }
DDLService.set_defaultUserContext = function(value) { 
DDLService._staticInstance._userContext = value; }
DDLService.get_defaultUserContext = function() { 
return DDLService._staticInstance._userContext; }
DDLService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; DDLService._staticInstance._succeeded = value; }
DDLService.get_defaultSucceededCallback = function() { 
return DDLService._staticInstance._succeeded; }
DDLService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; DDLService._staticInstance._failed = value; }
DDLService.get_defaultFailedCallback = function() { 
return DDLService._staticInstance._failed; }
DDLService.set_path("/g4Sport/DDLService.asmx");
DDLService.GetSport= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetSport(knownCategoryValues,category,onSuccess,onFailed,userContext); }
DDLService.GetDivision= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetDivision(knownCategoryValues,category,onSuccess,onFailed,userContext); }
DDLService.GetTeam= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetTeam(knownCategoryValues,category,onSuccess,onFailed,userContext); }
DDLService.GetTownshipList= function(prefixText,count,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetTownshipList(prefixText,count,onSuccess,onFailed,userContext); }
DDLService.GetRelationList= function(prefixText,count,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetRelationList(prefixText,count,onSuccess,onFailed,userContext); }
DDLService.GetSchoolList= function(prefixText,count,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetSchoolList(prefixText,count,onSuccess,onFailed,userContext); }
DDLService.GetPlayerList= function(prefixText,count,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetPlayerList(prefixText,count,onSuccess,onFailed,userContext); }
DDLService.GetCoachList= function(prefixText,count,onSuccess,onFailed,userContext) {DDLService._staticInstance.GetCoachList(prefixText,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
