public static void Regist(IDictionary <string, object> events, ScriptEvent @event, string handler) { events[@event.EventName] = new ScriptHandler { Handler = handler }; }
public DataSource(IWidget widget) : base(widget) { ScriptEvent.Regist(base.Events, OnLoadError, "AX.ajaxerror"); }