I have the following setup. An ObjectDataSource which is used to populate a Details view control.
This is current used for inserting data. One of the fields iwithin this is a template field into which I have placed calendar extender control.
Here is what I want to achieve. Add a gridview control on to the same page that when the page loads shows all of records from the table. I then wish this gridview to be filtered when a user makes a selection from the date templatefield.
Thinking about this I need to first capture the event of adding a date. I take it this will be on change event of the textbox rather then onClick of the calendar extender control. Not sure how to access template field controls inside a details view?
Next I need some way of filter the ObjectDataSource of the new gridview. I have setup a query that accepts a parameter but normally I can specify to take the parameter from a control, but in this case I won’t be able to because it’s inside a details view control.
Any help much appreciated.