I am creating a filter control that allows users to filter data based on selections. The control has a row for each filter condition and the value may be a date. Currently each time the user chooses to add a new row I do a partial postback and update the controls, adding a new WebDateChooser during post back.
What I want to do is allow the control to be run completly on the client. Adding new rows should not require a post back, but just copying the row html and fixing up the javascript.
My question is, is it possible to create a new WebDateChooser on the client? I have copied all of the rows and am starting down the path of running the init script, but want to make sure I am not going to hit any brick walls.
Has anyone done this before? Any thoughts or help is appreciated.
Our ASP.NET are server-side controls, and require to be intiialized on the server. The partial postback approach that you're using is the best alternative.