Microsoft
Software
Hardware
Network
Question : Javascript fakepath
Hi,
I am using fileUpload in IE8 and after I do the Browse I get c:\fakepath\...
I read that this is a security thing with IE8 but that there is a workaround
(
http://www.telerik.com/co
mmunity/fo
rums/aspne
t-ajax/upl
oad/
ie8-up
load-contr
ol-shows-q
uot-c-fake
path-quot.
aspx
).
The problem is that I cannot use this workaround because it is used from RadUpload so I cannot get the parameters: OnClientFileSelected(sende
r, args)
The reason I need it is because I want to show the picture (from the local disk) before I acually upload it.
So how do I get the acual (real) path???
Answer : Javascript fakepath
Absent something other than just HTML and JavaScript, you will need to upload the picture then display it from your web server's hard drive.
You can always delete it afterward if it is not the desired image.
Random Solutions
Insert records into SQL table from Select Statement
AJAX Coolite Postback issue with
Importing CSV into DataTable datatype problem VB 2010
Replicating Windows Server 2003 AD
Need help getting drop down menu to display on top of main content area
Setting up an ODBC source with a username with Wise Package Studio 8
Following code working in excel 2003 but not 2007
SBS does not print to network printer
Exchange 2007 - Do I need to get an external certificate SSL or can I live without it?
How to change login mode from Outlook Web Access Light to regular Outlook Web Acess on Excghange 2007 on SBS2008