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
235
Moving WebDateChooser control on clientside at runtime
posted

Hi

I want to use javascript to move a WebDateChooser control at runtime.  Any ideas?

 

 

 

 

Parents
No Data
Reply
  • 10880
    posted

    You would use our CSOM to accomplish this.  The following code moves it the control 100 pixels from the top and 100 pixels from the left:

    var oCombo = igdrp_getComboById('<%= WebDateChooser1.ClientID%>');

    oCombo.Element.style.position = "absolute";

    oCombo.Element.style.left = "100px";

    oCombo.Element.style.top = "100px";

    If you do a search for CSOM, you will get a lot of information regarding what CSOM is and what it allows you to do.

Children
No Data