views:

17

answers:

0

iam using swf file upload control in my application developed in asp.net & c#.net. i am having a dropdown box with file types like jpeg,.xls ,.txt etc.

so when i select particular file type in the dropdown and clicking on the button would open a filedialog showing only the files of the type selected in the dropdown.

The problem is that when i select "jpeg" for the first time file dialog shows only jpeg files.

when i select ".xls" next time it shows again the prevoiusly selected jpeg files and not currently selected ".xls".

but while debugging it was found the file type definition in the swf code has been changed to .xls . can any one guide why the file upload control not mapping the selected file for the second time