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

Refresh the RadGrid before stream the content to broswer

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chen Jun Ying
Top achievements
Rank 1
Chen Jun Ying asked on 18 Feb 2012, 08:25 AM
Hi there,

We would like to rebind the RadGrid before I stream the content to the browser window? Can this be achieved?

Thanks

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 22 Feb 2012, 03:18 PM
Hi Chen,

The latest point in which you could rebind the grid is in PreRender event as it is shown below.
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
    //your code
    this.RadGrid1.Rebind();
}
Note that if this does not suite your scenario you should find different implementation option.

Additionally, you could go through the help article below for more information on the topic:

Greetings,
Antonio Stoilkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Chen Jun Ying
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or