Home > DeveloperSection > Forums > Current date display automatically in ASPxDateEdit control on default loading
Ankit Singh

Total Post:341

Points:2389
Posted on    November-19-2014 10:39 PM

 ASP.Net Devexpress 
Ratings:


 1 Reply(s)
 2333  View(s)
Rate this:

I need to display the Current Date (17/Jun/2013) Automatically in the ASPxDateEdit Control by default while loading.

How to implement this?Any default property is there?



Tanuj Kumar

Total Post:134

Points:940
Posted on    November-20-2014 2:27 AM

Please follow this example and modify according to your requirement:

<dx:ASPxDateEdit runat="server" ID="uniquedateid"  Width="95px"><ClientSideEvents Init="function(s,e){ s.SetDate(new Date());}" /> </dx:ASPxDateEdit>     


Don't want to miss updates? Please click the below button!

Follow MindStick