This is a migrated thread and some comments may be shown as answers.

Ready bar at bottom of grid

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ericc34
Top achievements
Rank 1
ericc34 asked on 16 Jul 2008, 12:00 PM
Is it possible to hide ready bar at bottom of grid when we have no record ?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Jul 2008, 12:40 PM
Hi,

Try the following approach and see whether it is working.

CS:
 protected void RadGrid1_PreRender(object sender, EventArgs e) 
    { 
        string strCount = RadGrid1.MasterTableView.Items.Count.ToString(); 
        if (strCount == "0") 
        { 
            RadGrid1.ShowStatusBar = false
        } 
        RadGrid1.Rebind(); 
    } 


Thanks
Shinu.
Tags
Grid
Asked by
ericc34
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or