Beispiel #1
0
 private void UnWireEventSources(JsonFunction function)
 {
     foreach (string eventSourceDomId in this.eventSourceDomIds)
     {
         //function.AppendScriptBody(string.Format("\r\njQuery('id={0}').unbind('{1}', {2});", eventSourceDomId, this.ClientEventName, this.JsonId));
         function.AppendScriptBody(string.Format("\r\nJSUI.RemoveEventHandler('{0}', {1}, '{2}');", eventSourceDomId, this.JsonId, this.ClientEventName));
     }
 }