PDA

View Full Version : Download a file on click event of a button in Ext Js 4



nagalla038
21 Aug 2012, 3:48 AM
I need to download a file in the click event of a button in Ext Js 4.The dialogue box should ask whether to open or save a file..Can anyone suggest a solution to this



Thanks in Advance:)

redraid
21 Aug 2012, 4:37 AM
{
xtype: 'button',
href: 'download link'
}