Sometimes you need to dig in a little to get things to work the way that you want. I'm working on an events calendar and I need specific behavior for the home page display. When the page initially renders, I want to display a list of events in the current month. Then, I want to modify the display based on the user's interaction. If the user picks a date then I want to display only the events on that day. If the user navigates to a different month I want to display the events for that month, even if they previously choose a specific day. To do this I need to do the equivalent of a SQL SELECT based on EITHER the Day or the Month depending on the users choices. The code for this was easy but figuring out exactly what to do in relation to the controls...(read more) ...
Go to the complete details ...