First ,make sure that you had added BindData code in InitializeDataSource(object sender, DataSourceEventArgs e) Event .
Sample code:
protected void WebGrid1_InitializeDataSource(object sender, DataSourceEventArgs e)
{
  DataTable dt=method.GetDataTable();
  e.DataSource = dt;
}

And then  you can invoke Refresh() funtion with javascript .
sample code:
function  Refresh()
 {
    var grid = ISGetObject("WebGrid1");
    grid.Refresh();
 }

BTW,You also can Perform refresh on the particular table only, without refreshing the whole tables (root table and child tables).
sample code:
function refreshChild() {
        var grid = ISGetObject("WebGrid1");
        grid.Tables[tablename].Refresh();

Posted on 2008-06-03 18:11 Enzo 阅读(25) 评论(0)  编辑 收藏 所属分类: Intersoft Control

标题  
姓名  
主页
Email (只有博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交