Type.registerNamespace('Zwb.Web');
Zwb.Web.StateAndCountry=function() {
Zwb.Web.StateAndCountry.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Zwb.Web.StateAndCountry.prototype={
GetStatesByCountryID:function(countryID,succeededCallback, failedCallback, userContext) {
return this._invoke(Zwb.Web.StateAndCountry.get_path(), 'GetStatesByCountryID',false,{countryID:countryID},succeededCallback,failedCallback,userContext); },
GetCountries:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(Zwb.Web.StateAndCountry.get_path(), 'GetCountries',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetStates:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(Zwb.Web.StateAndCountry.get_path(), 'GetStates',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); }}
Zwb.Web.StateAndCountry.registerClass('Zwb.Web.StateAndCountry',Sys.Net.WebServiceProxy);
Zwb.Web.StateAndCountry._staticInstance = new Zwb.Web.StateAndCountry();
Zwb.Web.StateAndCountry.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Zwb.Web.StateAndCountry._staticInstance._path = value; }
Zwb.Web.StateAndCountry.get_path = function() { return Zwb.Web.StateAndCountry._staticInstance._path; }
Zwb.Web.StateAndCountry.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); }
Zwb.Web.StateAndCountry._staticInstance._timeout = value; }
Zwb.Web.StateAndCountry.get_timeout = function() { 
return Zwb.Web.StateAndCountry._staticInstance._timeout; }
Zwb.Web.StateAndCountry.set_defaultUserContext = function(value) { 
Zwb.Web.StateAndCountry._staticInstance._userContext = value; }
Zwb.Web.StateAndCountry.get_defaultUserContext = function() { 
return Zwb.Web.StateAndCountry._staticInstance._userContext; }
Zwb.Web.StateAndCountry.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Zwb.Web.StateAndCountry._staticInstance._succeeded = value; }
Zwb.Web.StateAndCountry.get_defaultSucceededCallback = function() { 
return Zwb.Web.StateAndCountry._staticInstance._succeeded; }
Zwb.Web.StateAndCountry.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Zwb.Web.StateAndCountry._staticInstance._failed = value; }
Zwb.Web.StateAndCountry.get_defaultFailedCallback = function() { 
return Zwb.Web.StateAndCountry._staticInstance._failed; }
Zwb.Web.StateAndCountry.set_path("/service/StateAndCountry.asmx");
Zwb.Web.StateAndCountry.GetStatesByCountryID= function(countryID,onSuccess,onFailed,userContext) {Zwb.Web.StateAndCountry._staticInstance.GetStatesByCountryID(countryID,onSuccess,onFailed,userContext); }
Zwb.Web.StateAndCountry.GetCountries= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Zwb.Web.StateAndCountry._staticInstance.GetCountries(knownCategoryValues,category,onSuccess,onFailed,userContext); }
Zwb.Web.StateAndCountry.GetStates= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {Zwb.Web.StateAndCountry._staticInstance.GetStates(knownCategoryValues,category,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
