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

Rebind Not Triggering AppointmentDataBound

1 Answer 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ATS
Top achievements
Rank 1
ATS asked on 07 Feb 2012, 09:05 PM
I'm following your resource filtering demo here (http://demos.telerik.com/aspnet-ajax/scheduler/examples/resources/defaultcs.aspx) with the latest controls (2011.3.1324.40). The only difference between my code and yours is that I'm binding to a list of objects in my Page_Init and you are binding to a datasource control. Also, your filter controls autopostback, but mine require the user to click an "Apply Filters" button. The click event for the button does the same thing though, it calls ReBind() on the RadScheduler control. Sure enough, I see the DataBound event fire, but the AppointmentDataBound events never do. That's where your code (and mine, by extension) hides certain appointments based on the filters selected, so it kind of needs to be firing on Rebind. Any ideas what would prevent that event from firing?

1 Answer, 1 is accepted

Sort by
0
ATS
Top achievements
Rank 1
answered on 07 Feb 2012, 09:38 PM
Ah, never mind, I fixed it. It was calling that, but I wasn't seeing it because the application was making AJAX postbacks. I had to hard-refresh the page to get it to start hitting my breakpoints in VS again for each of the postbacks (including AJAX) after I made a code change, which I did not realize.

Disregard!
Tags
Scheduler
Asked by
ATS
Top achievements
Rank 1
Answers by
ATS
Top achievements
Rank 1
Share this question
or