dinger2121
Programmer
Hello,
I am trying to use the jquery ui datepicker in an mvc application. I am able to display everything just fine. The problem I am running into is getting the value from the datepicker control to use in an Actionlink.
I would like to use the datepicker for filtering the data on the page by a date date range. I was hoping to use an Actionlink which the user will click on after choosing the dates. This actionlink will construct the querystring values from the values of the datepickers.I will then use the query string to pull out the dates to filter by and pass them back to the same page.
I have create an htmlhelper class which defines the datepicker. I was thinking I could define a property which will return the value of the datepicker, but I don't know how this would be set up.
I hope all this makes sense.
thanks for any thoughts.
carl
MCSD, MCTS:MOSS
I am trying to use the jquery ui datepicker in an mvc application. I am able to display everything just fine. The problem I am running into is getting the value from the datepicker control to use in an Actionlink.
I would like to use the datepicker for filtering the data on the page by a date date range. I was hoping to use an Actionlink which the user will click on after choosing the dates. This actionlink will construct the querystring values from the values of the datepickers.I will then use the query string to pull out the dates to filter by and pass them back to the same page.
I have create an htmlhelper class which defines the datepicker. I was thinking I could define a property which will return the value of the datepicker, but I don't know how this would be set up.
I hope all this makes sense.
thanks for any thoughts.
carl
MCSD, MCTS:MOSS