tags:

views:

30

answers:

1

iam using aspx date edit control in my asp.net and c#.net application. is it possible to disable aspxdateedit control in javascript?if so how acan that be done.becoz ,i tried

using

"document.get elementbyid("datedit").disabled=true;"

but it didn't worked out !!

any suggestion on this?

A: 

This can be done using the editor's client side SetEnabled method. I.e.

// JS

dateEdit.SetEnabled(false);

Note, here the dateEdit is the editor's ClientInstanceName property value. It allows you to define the name of the java script client side object. Using it, you will be able to access its client side properties and methods.

DevExpress Team
hey , thank u team,it worked out.
subash