![]()
Hi and thanks for your reply!
The control is something like this:
1. I have a "Add Filter" button and nothing else but a hidden WebDateChooser at the bottom of the page, in a <div>.
2. I click "Add Filter" button and a line with
Search by |Number (Drop Down List)| Add_Filter_Button Remove_Filter_Button
3. I can let the NUMBER in the dropdownlist or change it. I choose to let it as it is, number. I click "Add_Filter_Button".
4. A new line appears and I choose Start Date. This is the moment in which the hidden WebDateChooser has to be clonated and positioned correctly to look something like:
Search by |Start Date (Drop Down List)| |Date Chooser| Add_Filter_Button Remove_Filter_Button
5. I again click "Add_Filter_Button" and select End Date, and the hidden WebDateChooser has to be clonated and positioned correctly to look like this:
Search by |End Time (Drop Down List)| |Date Chooser| Add_Filter_Button Remove_Filter_Button
6. I choose to remove the second filter, "Start Time", so I click the "Remove_Filter_Button" from the corresponding line.
7. I then rethink and want to readd the Start Time filter, so on the "End Time" line, I click Add_Filter_Button. The hidden WebDateChooser needs to be clonated for the third time.
All these filter elements are created throught javascript, and placed in a <div>.
So the moving solution would work if I would know how many times I need to clonate a WebDateChooser, but I don't know, and if I would create one WebDateChooser for Start Time and one for End Time and on Add_Filter I would un-hidden it and placed it where it is needed, and on Remove_Filter I would have to re-hidden in and reposition it to the bottom of the page.
Any other solutions? I really have to solve this problem! 