Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Moving WebDateChooser control on clientside at runtime

Last post 08-27-2008 10:19 by [Infragistics] Sung Kim. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-15-2008 8:01

    • murph
    • Not Ranked
    • Joined on 08-14-2008
    • Points 235

    Moving WebDateChooser control on clientside at runtime

    Hi

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

     

     

     

     

    • Post Points: 20
  • 08-27-2008 10:19 In reply to

    Re: Moving WebDateChooser control on clientside at runtime

    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.

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems