Rebind Not Triggering AppointmentDataBound

2 posts, 0 answers
  1. JT
    JT avatar
    49 posts
    Member since:
    Mar 2007

    Posted 07 Feb 2012 Link to this post

    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?
  2. JT
    JT avatar
    49 posts
    Member since:
    Mar 2007

    Posted 07 Feb 2012 Link to this post

    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top