View Full Version : Ext.ux.UploadDialog.Dialog box URL problem

18 Jun 2008, 2:52 AM
I am Using Ext.ux.UploadDialog.Dialog box. the control is rendered fine and also shows the file when I add .but when I click on upload button it shows me error on Note column of the grid that is Upload Error , I think the this is the problem of the URL but I don't know how can I give the URL/path of the folder where file will be uploaded. Like http://localhost/projectName/demo.aspx or 'projectName/FolderName ' etc.
Please Tell me how to specify the url value. In the follwing code
Please reply………

Here is my Code..........

function getDialog()
if (!dialog) {
dialog = new Ext.ux.UploadDialog.Dialog({
url: 'http://localhost/incident/demo.aspx', // Here is the Problem
reset_on_hide: false,
allow_close_on_upload: true,
upload_autostart: false,
post_var_name: 'upload'

dialog.on('uploadsuccess', onUploadSuccess);
return dialog;

function showDialog(button)

19 Jun 2008, 1:40 PM
Use Fiddler to debug what's being returned from the upload action.

19 Jun 2008, 10:43 PM
Thanks for suggestion

21 Aug 2008, 10:32 AM
You said that you need to upload the file to the folder, but this url 'http://localhost/incident/demo.aspx' doesn’t lead to the folder

8 Sep 2008, 7:45 PM
I have Fields FORM_DATE and TO_DATE

If i Choose FROM_DATE as 10/10/2008 from the calender panel.

TO_DATE should show DATE AS 20/10/2008 for select onfocus.

I mean To_DATE should display Onfocus = FROM_DATE + 10 Days.

Let me know the feasibility or sample code code achive this.