protected LoadHtml ( string url, System.Action onComplete ) : void | ||
url | string | The URL of the content to load. |
onComplete | System.Action | Action to invoke upon completion. |
return | void |
protected void LoadHtml(string url, Action onComplete)
{
if (Container == null) throw new Exception("Container not initialized.");
jQuery.Get(url, delegate(object data)
{
Container.Empty();
Container.Append(data.ToString());
Helper.Invoke(onComplete);
});
}
#endregion