バージョン

MoreRowsRequesting プロパティ

サーバーに追加の行を要求するときに呼び出される javascript 関数の名前を取得または設定します。
シンタックス
'宣言
 
Public Property MoreRowsRequesting As String
public string MoreRowsRequesting {get; set;}
使用例
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.MoreRowsRequesting = "WebDataGrid_MoreRowsRequesting"
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.MoreRowsRequesting = "WebDataGrid_MoreRowsRequesting";
// The client event 'MoreRowsRequesting' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the CancelMoreRowsRequestingEventArgs

function WebDataGrid_MoreRowsRequesting(sender, e) {

    //Returns number of rows received from the server
    var rowsRange = e.get_rowsRange();

    //Returns index of the top row received from server
    var topRowIndex = e.get_topRowIndex();

    if (!confirm("Are you sure you want to request more rows from the server?"))
        //Cancels request for more rows from the server     
        e.set_cancel(true);
    
        
}
参照