Posts

Showing posts from September, 2009

Date Filter Range Control for SharePoint/ASP.NET

Image
Figure 1 Figure 2 Folks, though I am good in talking with the processor, I am bad at high level languages like “English”. So please don’t mind my literature and jump into the juice part of it. I was searching for a Date range filter control with a Start Date and End Date and hit a submit button and filter for those date ranges. May be I didn’t query well in “google” or “bing”, I didn’t find one. Even that is cool, because, it prompted me to write my own control and here I am. This is a control, where you can use it in your ASP.NET pages or SharePoint web parts. I wrote it for SharePoint web parts. It has two different Delegates that can be passed in during the initialization time. Based on the delegate, the appropriate control will be shown. I have two different types of date filter control that needs to be used in my application. One is filter for a week, month, quarterly, half-yearly and yearly. Please Refer Figure 2 For the above control usage, you need to pass in the method void Si