Hi,
I am having problems accessing the DatePicker component in javascript when added the DatePicker from code behind.
I would like to reposition the DatePicker's Calendar, which script works for DatePickers added on the markup(aspx) using the <%=DatePicker1.ClientID%>
However I am not sure how I can reference the component dynamically added in code behind. I have tried to pass the DynamicDatePicker.ClientID to the script which manipulates the position of the Calendar. Unfortunately I have an earlier version of RAD controls so I have to this script manipulation, or the nasty way: I have to hardcode the position from code behind which is not a very efficient way of resolving this issue.
thanks
I am having problems accessing the DatePicker component in javascript when added the DatePicker from code behind.
I would like to reposition the DatePicker's Calendar, which script works for DatePickers added on the markup(aspx) using the <%=DatePicker1.ClientID%>
However I am not sure how I can reference the component dynamically added in code behind. I have tried to pass the DynamicDatePicker.ClientID to the script which manipulates the position of the Calendar. Unfortunately I have an earlier version of RAD controls so I have to this script manipulation, or the nasty way: I have to hardcode the position from code behind which is not a very efficient way of resolving this issue.
thanks