private void GetDataFromAJAXSource(DataRequestEventArgs args) { AJAXHandler handler = (AJAXHandler)FindControl(DataSourceId.Replace('_', '$')); if (handler != null && handler.ContentProcessor != null) { Response.Write(handler.ContentProcessor(args)); } }
/// <summary> /// Gets the AJAX hadler URL. /// </summary> /// <returns></returns> public static string GetAJAXHadlerURL(AJAXHandler handler) { return(GetHadlerURL(_handlerKeyAjax) + "&" + _dymanicDataSourceId + "=" + handler.ClientID); }