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

Refreshing Resource Controls While Insert Panel is Open

1 Answer 33 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
steve matheson
Top achievements
Rank 2
steve matheson asked on 03 Apr 2009, 06:15 PM
I am using the q3 2008 version of RadScheduler for a music festival.
One of the resource controls binds to a large list of possible artists to choose for an event.
When the artist who is associated for the event is not in the list already I have made a simple form on the same page as the scheduler to enter the artist name and update the artists table.
However, it is normally only discovered that the artist is not in the list until the insert panel is opened and this means that they need to close the insert panel and reopen it in order to force the resource list to rebind.

I'm trying to make the resource list rebind while the insert panel is still open right after updating the table.
I've tried using the prerender event on the resourcecontrol.ascx to do this but it looks like the binding of the control is based on using the owner.provider.getresources function but I'm unsure how to force the provider to rebind.

Is there a way to do this?

Thanks

steve m

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Apr 2009, 06:49 AM
Hi steve,

Have you tried calling RadScheduler1.Rebind() after you update the data table with the artists?


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
steve matheson
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or