A fairly urgent issue / question:
I am currently creating a dynamic table in Javascript that has changes it's editors (i.e. drop down list, check box, text box etc) depending on selected choices the user makes (i.e. if they select an item from the list has is a boolean data type, then we would bind a check box to the dynamic table cell).
But - how do I go about creating the web date chooser as one of these dynamic controls?
Is this even possible?
Or should I be looking to use a proper Javascript control?
Thanks
Hi Vince
Thanks for your reply.
I managed to get the desired result from using a jquery calendar control.
Basically the only thing the server side will be interested in is the value of passed to it from the client - the value could be entered using a normal text box, however by using the calendar control you can control the data entered by the user better.
Whilst I appreciate that the web date chooser is a server side control (which we do use extensively) as more people start shifting their focus to AJAX / Javascript rich client interface, this may be something that other people may benefit from.
Cheers
Brian
WebDateChooser is an ASP.NET server control. Because of this, it needs both a server-side presence and a client-side presence. I don't believe that trying to add one to a page solely using JavaScript is going to work.
Depending on what result you're after, you might consider using our WebDialogWindow control. This allows you to put a floating window on your page, which can be hidden or shown as desired, and which can contain other ASP.NET or HTML controls.
Alternately, you may be able to put your WebDateChooser on the page at design time, hide it using CSS, and adjust its CSS to show it when you want it to display.