Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
Create a WebDateChooser on the client
posted

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.