CURRENT DATE DISPLAY AUTOMATICALLY IN ASPXDATEEDIT CONTROL ON DEFAULT LOADING

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
 3598  View(s)
Ratings:
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?

  1. Tanuj Kumar

    Post:134

    Points:940
    Re: Current date display automatically in ASPxDateEdit control on default loading

    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>     

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!