WebGrid ClientBinding .AddInput JS error

1 reply. Last post: August 10, 2011 11:49 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

In function:

function WebButton1_OnClientClick(controlId, parameter) {
    var WebButton1 = ISGetObject(controlId);
    var grid = ISGetObject("WebGrid1");
    if (grid != null) {
        grid.AddInput("keyValue", key);
        grid.SendCustomRequest();
    }
    return true;
}

i've always got error on AddInput fuction, when the same grid is bind to Server Data Source JS works fine.

Best Regards,

Michal

All times are GMT -5. The time now is 11:19 PM.
Previous Next