Hi, I'm hoping you can help.
I have a RadGrid that contains an edit form; within this edit form I have 2 more RadGrids. The idea is that the user can select an item from one of these and add it to the other. This works fine, but my problem is trying to load them back in at a later date.
Basically the ReBind() method isn't firing. I have:
private void Rebind()
{
RgCustomers.Rebind();
RgCustomersSelected.Rebind();
}
and
protected void RgCustomers_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
RgCustomers.DataSource = CustomerDataSource;
if (!Page.IsPostBack)
ApplyFilters();
}
protected void RgCustomersSelected_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
RgCustomersSelected.DataSource = CustomerSelectedDataSource;
}
but when I debug through it the NeedDataSource's never get called when I call the Rebind method.
Anyway help would be great!! Many thanks, Ben
I have a RadGrid that contains an edit form; within this edit form I have 2 more RadGrids. The idea is that the user can select an item from one of these and add it to the other. This works fine, but my problem is trying to load them back in at a later date.
Basically the ReBind() method isn't firing. I have:
private void Rebind()
{
RgCustomers.Rebind();
RgCustomersSelected.Rebind();
}
and
protected void RgCustomers_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
RgCustomers.DataSource = CustomerDataSource;
if (!Page.IsPostBack)
ApplyFilters();
}
protected void RgCustomersSelected_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
RgCustomersSelected.DataSource = CustomerSelectedDataSource;
}
but when I debug through it the NeedDataSource's never get called when I call the Rebind method.
Anyway help would be great!! Many thanks, Ben