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
320
How to set value in client side
posted

Hi

Iam using webdate chooser.

i have button when i clicked that one it should populate the datecontrol with a column value of a grid .

it is working on server side like .

dtStartdate.vaue=grid.rows[0].cells[0].value; 

but when i am trying at client side

document.getelementbyid(dtStartdate).value =row.getcellvalue(0);

its not working

Please also tell me how to set default value for it

Parents
No Data
Reply
  • 28464
    posted

    You can use the CSOM (Client-Side Object Model) of the control to set the value. In general, IG controls employ syntax different from what Html controls use.

    More info and a good starting point can be the CSOM reference in the manual:

    http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/WebDateChooser_Object_CSOM.html

    Hope this helps. 


Children
No Data