Click here to Skip to main content
15,902,445 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionModelDialog Window Vs Normal pop up dialog window Pin
kyreddy16-Dec-09 22:46
kyreddy16-Dec-09 22:46 
QuestionCool Iris .... Pin
Subin Mavunkal16-Dec-09 20:54
Subin Mavunkal16-Dec-09 20:54 
AnswerRe: Cool Iris .... Pin
John Bracey16-Dec-09 21:29
John Bracey16-Dec-09 21:29 
Questionwhen page refresh happen Fileupload control get cleared. Pin
chakran16-Dec-09 20:27
chakran16-Dec-09 20:27 
AnswerRe: when page refresh happen Fileupload control get cleared. Pin
dan!sh 16-Dec-09 21:09
professional dan!sh 16-Dec-09 21:09 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
chakran16-Dec-09 21:46
chakran16-Dec-09 21:46 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
dan!sh 16-Dec-09 21:59
professional dan!sh 16-Dec-09 21:59 
AnswerRe: when page refresh happen Fileupload control get cleared. Pin
Abhishek Sur16-Dec-09 22:43
professionalAbhishek Sur16-Dec-09 22:43 
Well... Html file control is very restrictive control. You cannot set value of file upload using javascript. You can only set using Browse Button.

Now when the page is posted back, the whole page is sent to the server, server processes it and rewrites the whole page to the response and which is written over the browser(client).
Thus if you select a file and some other button makes the postback, dont hesitate to save the file to the server as, the path, if not saved to the server, cant be shown in the file control at any case.

Otherwise you can show a popup (preferably using window.open) to upload files and do the upload immediately after user selects the file.

Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: when page refresh happen Fileupload control get cleared. Pin
chakran16-Dec-09 22:50
chakran16-Dec-09 22:50 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
m@dhu16-Dec-09 23:36
m@dhu16-Dec-09 23:36 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
chakran16-Dec-09 23:47
chakran16-Dec-09 23:47 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
dan!sh 17-Dec-09 0:25
professional dan!sh 17-Dec-09 0:25 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
Abhishek Sur17-Dec-09 21:44
professionalAbhishek Sur17-Dec-09 21:44 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
chakran17-Dec-09 21:59
chakran17-Dec-09 21:59 
GeneralRe: when page refresh happen Fileupload control get cleared. Pin
Abhishek Sur20-Dec-09 21:22
professionalAbhishek Sur20-Dec-09 21:22 
QuestionDynamic Updation of resource files [modified] Pin
SreejithKumar M16-Dec-09 20:10
SreejithKumar M16-Dec-09 20:10 
AnswerRe: Dynamic Updation of resource files Pin
Dinesh Mani16-Dec-09 20:28
Dinesh Mani16-Dec-09 20:28 
AnswerRe: Dynamic Updation of resource files Pin
SreejithKumar M16-Dec-09 23:43
SreejithKumar M16-Dec-09 23:43 
GeneralRe: Dynamic Updation of resource files Pin
sashidhar17-Dec-09 17:38
sashidhar17-Dec-09 17:38 
Questionerror in role based form authentication Pin
rajni_nanu16-Dec-09 20:01
rajni_nanu16-Dec-09 20:01 
AnswerRe: error in role based form authentication Pin
sashidhar16-Dec-09 23:29
sashidhar16-Dec-09 23:29 
QuestionDiff between String and string Pin
Amit Patel198516-Dec-09 19:58
Amit Patel198516-Dec-09 19:58 
AnswerRe: Diff between String and string Pin
Dinesh Mani16-Dec-09 20:26
Dinesh Mani16-Dec-09 20:26 
GeneralRe: Diff between String and string Pin
Abhijit Jana16-Dec-09 20:38
professionalAbhijit Jana16-Dec-09 20:38 
GeneralRe: Diff between String and string Pin
Dinesh Mani16-Dec-09 20:47
Dinesh Mani16-Dec-09 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.