skyey
13 Jun 2007, 8:51 AM
Ext.onReady(function(){
//Ext.QuickTips.init();
var fs = new Ext.form.Form({
labelAlign: 'right',
labelWidth: 80
});
fs.fieldset(
{legend:'Contact Information'},
new Ext.form.TextField({
fieldLabel: 'First Name',
name: 'first',
width:190
}),
new Ext.form.DateField({
fieldLabel: 'Date of Birth',
name: 'dob',
width:190,
allowBlank:false
})
);
fs.render('ca');
})
this is example code, can i get DateField out of form? because of asp.net didn't allow two form. (that same code can run into HTML but asp.net can't)
//Ext.QuickTips.init();
var fs = new Ext.form.Form({
labelAlign: 'right',
labelWidth: 80
});
fs.fieldset(
{legend:'Contact Information'},
new Ext.form.TextField({
fieldLabel: 'First Name',
name: 'first',
width:190
}),
new Ext.form.DateField({
fieldLabel: 'Date of Birth',
name: 'dob',
width:190,
allowBlank:false
})
);
fs.render('ca');
})
this is example code, can i get DateField out of form? because of asp.net didn't allow two form. (that same code can run into HTML but asp.net can't)