Click here to Skip to main content
15,888,293 members
Home / Discussions / C#
   

C#

 
AnswerRe: Beginner: How to use BitFlags? Pin
Grimolfr17-Sep-04 7:31
Grimolfr17-Sep-04 7:31 
GeneralInvisible Text on Grid Pin
dbetting17-Sep-04 5:02
dbetting17-Sep-04 5:02 
QuestionIs this a compiler error? Pin
gordonpagan17-Sep-04 4:37
gordonpagan17-Sep-04 4:37 
AnswerRe: Is this a compiler error? Pin
leppie17-Sep-04 5:19
leppie17-Sep-04 5:19 
AnswerRe: Is this a compiler error? Pin
Steven Campbell17-Sep-04 7:46
Steven Campbell17-Sep-04 7:46 
GeneralWideChar Pin
yyf17-Sep-04 3:14
yyf17-Sep-04 3:14 
GeneralRe: WideChar Pin
Heath Stewart17-Sep-04 6:33
protectorHeath Stewart17-Sep-04 6:33 
GeneralFilefield postback woes Pin
Vodstok17-Sep-04 3:08
Vodstok17-Sep-04 3:08 
I have recently created a form that gives the user the option of filling out certain information in either text fields, or as file attachments, or a combination of both.

The problem i am runninginto, is that if the user clicks the browse button and selects a file, then hits any of the other controls that do a postback, the selected file is lost.

I have tried using this.filefield.EnableViewState = true to see if that would keep, but it doesnt. i also have not been able to progromatically assign a value or a PostedFile.Filename. the page errors out and says that they are not "settable" (gotta love "msenglish")

if i could grab the information and pass it to a hidden field, or allow the viewstate to hold it, that would be great. My only other recourse is to make it so that selecting files to upload is the LAST thing that can be done before submission, but that is a pain in and of itself, and doesnt do doodily squat for the user if they have to go back and redo something before submission. they would have to start any files they wanted to upload all over again...

Yes, I am the highly suggestable type.
GeneralRe: Filefield postback woes Pin
sreejith ss nair17-Sep-04 3:40
sreejith ss nair17-Sep-04 3:40 
GeneralRe: Filefield postback woes Pin
Vodstok17-Sep-04 4:36
Vodstok17-Sep-04 4:36 
GeneralStream writing html Pin
Mikke_x17-Sep-04 2:50
Mikke_x17-Sep-04 2:50 
GeneralRe: Stream writing html Pin
Steven Campbell17-Sep-04 4:33
Steven Campbell17-Sep-04 4:33 
GeneralRe: Stream writing html Pin
Heath Stewart17-Sep-04 6:53
protectorHeath Stewart17-Sep-04 6:53 
GeneralRe: Stream writing html Pin
Mikke_x17-Sep-04 7:14
Mikke_x17-Sep-04 7:14 
Generalposting data to another url using webclient Pin
Abraham Durairaj17-Sep-04 0:31
Abraham Durairaj17-Sep-04 0:31 
GeneralMaskEdit Pin
jzb17-Sep-04 0:09
jzb17-Sep-04 0:09 
GeneralRe: MaskEdit Pin
Heath Stewart17-Sep-04 6:37
protectorHeath Stewart17-Sep-04 6:37 
GeneralGraphical programming Pin
Member 62427317-Sep-04 0:06
Member 62427317-Sep-04 0:06 
GeneralRe: Graphical programming Pin
Colin Angus Mackay17-Sep-04 1:10
Colin Angus Mackay17-Sep-04 1:10 
Generalcustom progressbar, problem updating it. Pin
misterbear16-Sep-04 23:50
misterbear16-Sep-04 23:50 
GeneralRe: custom progressbar, problem updating it. Pin
Stefan Troschuetz17-Sep-04 2:47
Stefan Troschuetz17-Sep-04 2:47 
GeneralRe: custom progressbar, problem updating it. Pin
Tim Kohler17-Sep-04 9:49
Tim Kohler17-Sep-04 9:49 
Generalcorrel function for c# Pin
tradingsharp16-Sep-04 22:56
tradingsharp16-Sep-04 22:56 
GeneralRe: correl function for c# Pin
leppie16-Sep-04 23:46
leppie16-Sep-04 23:46 
GeneralReg. Posting data to other url Pin
Abraham Durairaj16-Sep-04 18:50
Abraham Durairaj16-Sep-04 18:50 

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.