#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
#region ICallbackEventHandler implementation public void RaiseCallbackEvent( string eventArg) { m_callbackEventArg = eventArg; } public string GetCallbackResult() { string result = "" ; if (DataSource != null ) foreach ( object o in DataSource) { string item = o.ToString(); if (item.StartsWith(m_callbackEventArg)) result += item + "||" ; } if (result.Length > 2) return result.Substring(0, result.Length - 2); else return "" ; } #endregion
- _populateListBegin: function () {
- if ( this .get_loadDynamically () == false ) {
- this ._filterList ( this ._textFilter);
- this ._displayList ();
- }
- else {
- WebForm_DoCallback ( this .get_element (). Id, this ._textFilter, this ._onPopulateListComplete, this .get_element (). Id, null , true );
- }
- },
- _onPopulateListComplete: function (result, context) {
- var rscb = $ find (context);
- rscb._processCallbackResult (result);
- }
Source: https://habr.com/ru/post/83196/
All Articles