when i click datetimepicker it has to display as eg,feb 10 and not as 10/02/2013

Posted by Lavanya1 under JavaScript on 3/10/2013 | Points: 10 | Views : 895 | Status : [Member] | Replies : 2
In asp.net 2.0,in java script.. in a textbox i select date from datetimepicker and it displays in format dd/MM/yyyy but when i click datetimepicker it has to display in format month and date alone eg..as feb 10...how to code in java script ..can anyone help me..

<asp:TextBox ID="txtDateTo" CssClass="txtbox" runat="server"
BackColor="Red" Font-Bold="True" onclick="showCalendarControl(this,1,0,2);"
ForeColor="White" Width="88px" Height="15" AutoPostBack="True" ></asp:TextBox>




Responses

Posted by: Jayakumars on: 3/11/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

which datetimepicker to you use External Js or Jquery.Post Your Code

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com

Lavanya1, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lavanya1 on: 3/11/2013 [Member] Starter | Points: 25

Up
0
Down
javascript sir,
<asp:TextBox ID="txtDateTo" CssClass="txtbox" runat="server"
BackColor="Red" Font-Bold="True" onclick="showCalendarControl(this,1,0,2);"
ForeColor="White" Width="88px" Height="15" AutoPostBack="True" ></asp:TextBox>



Lavanya1, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response