PDA

View Full Version : how to add one additional textbox in Ext.form.DateField



sam.arulprakash
7 Jun 2010, 9:24 PM
Hi All,

I am in need to add one additional textbox in Ext.form.DateField.(Refer Screen Shot).

This is my code.

<div id="calendar" style="position:absolute;z-index:999" runat="server"></div>
var <%= this.ID %>;
Ext.onReady(function()
{
Ext.BLANK_IMAGE_URL = 'lib/ext300/resources/images/default/s.gif';

<%=this.ID %> = new Ext.form.DateField(
{
ctCls: 'frmCalendarTxt',
format:'d-M-Y g:i:s',
id: '<%= this.ClientID %>_dt',
name: '<%= this.ClientID %>_dt',
width:150,
height:35,
autoCreate: {tag: "input", type: "text", size: "10", autocomplete: "off"}
});

<%=this.ID %>.render('<%=this.ID %>_calendar');

});


is this possible to add text box in the mentioned area of screen shot.

Thanks in advance.

Regards,
Arul Prakash.M


20848