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

