0

I have a request to set up a user based filter on a list. I know I can set up a data view web part, but I do not know what controls to use to set up the filter. I cannot use the Date Filter Web Part because I only have the standard version of SharePoint. I have tried setting up a DateTimePicker Control, but it gave me errors on the Data View Web Part and I have tried an asp:TextBox, but I could not find a way to convert it into a Date Value.

Does anyone have any advice or guidance as to how I should set this up?

2
  • Can you clarify where you are comparing the date value? Are you trying to parse the text into a Date object using JavaScript?
    – Kit Menke
    Mar 25, 2011 at 14:06
  • I am comparing the date value within the Filter Criteria of the Data View Web PArt.
    – sange
    Mar 25, 2011 at 14:11

1 Answer 1

0

I was able to add a Textbox with a JQuery datepicker to filter the data view web part. I had to format the datepicker to display YYYY-MM-DD instead of MM-DD-YYYY to correctly filter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.