Click here to Skip to main content
16,008,010 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: My own 404 page Pin
Paul Ingles29-Dec-02 13:59
Paul Ingles29-Dec-02 13:59 
GeneralRe: My own 404 page Pin
Nnamdi Onyeyiri29-Dec-02 23:19
Nnamdi Onyeyiri29-Dec-02 23:19 
QuestionASP/IIS stalling????? Pin
Matt Gullett27-Dec-02 11:32
Matt Gullett27-Dec-02 11:32 
AnswerNevermind... Pin
Matt Gullett27-Dec-02 14:03
Matt Gullett27-Dec-02 14:03 
GeneralActiveX and IHTMLDocument Pin
Jörgen Sigvardsson27-Dec-02 3:49
Jörgen Sigvardsson27-Dec-02 3:49 
QuestionHow do I execute a query through an ASP page to update my fields Pin
E Slipchenko26-Dec-02 18:38
E Slipchenko26-Dec-02 18:38 
GeneralOpen dialog box from a web form Pin
Eric "Metal" Miller26-Dec-02 6:09
Eric "Metal" Miller26-Dec-02 6:09 
GeneralRe: Open dialog box from a web form Pin
Tatham26-Dec-02 6:51
Tatham26-Dec-02 6:51 
By your mention of WebForms I will assume that you're using .NET.

From memory there isn't an ASPX server control, but, you should be using a file element in your client side form:

<INPUT id="somefile" type="file">

This will automatically show a textbox for the URI and a browse button, which is automatically linked up to an open dialog.

When the form is submitted you will receive the contents of the file in, either the querystring (if you use GET) or in the headers section of the request (if you use POST). Either way, if you call Request("somefile") you should be able to get the contents of the file.

If you are using a more complex WebForm you may want to write your own ASPX server control wrapper for the <INPUT type="file"> element.

Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript)
tatham@e-oddie.com
+61 414 275 989
GeneralRe: Open dialog box from a web form Pin
Eric "Metal" Miller26-Dec-02 8:42
Eric "Metal" Miller26-Dec-02 8:42 
QuestionHow to perform complicated operations by Win32 Application from an ASP page ? Pin
TPN25-Dec-02 23:36
TPN25-Dec-02 23:36 
AnswerRe: How to perform complicated operations by Win32 Application from an ASP page ? Pin
Daniel Turini26-Dec-02 0:50
Daniel Turini26-Dec-02 0:50 
GeneralRe: How to perform complicated operations by Win32 Application from an ASP page ? Pin
TPN26-Dec-02 19:06
TPN26-Dec-02 19:06 
GeneralRe: How to perform complicated operations by Win32 Application from an ASP page ? Pin
Torsten Mauz29-Jan-03 15:54
Torsten Mauz29-Jan-03 15:54 
GeneralASP - data base access Pin
Sarvesvara (BVKS) Dasa24-Dec-02 21:07
Sarvesvara (BVKS) Dasa24-Dec-02 21:07 
GeneralRe: ASP - data base access Pin
Philip Patrick2-Jan-03 4:12
professionalPhilip Patrick2-Jan-03 4:12 
GeneralRe: ASP - data base access Pin
DFU236-Jan-03 11:51
DFU236-Jan-03 11:51 
GeneralShowing IE band from menu Pin
Scubart24-Dec-02 0:05
Scubart24-Dec-02 0:05 
Generalurgent books on ASP Fundamentals Pin
TSrinivasR23-Dec-02 7:14
TSrinivasR23-Dec-02 7:14 
GeneralRe: urgent books on ASP Fundamentals Pin
leppie23-Dec-02 12:29
leppie23-Dec-02 12:29 
GeneralRe: urgent books on ASP Fundamentals Pin
Roger Wright25-Dec-02 4:19
professionalRoger Wright25-Dec-02 4:19 
Generalurgent books on ASP Fundamental Pin
TSrinivasR23-Dec-02 7:00
TSrinivasR23-Dec-02 7:00 
GeneralJAVA - JBank project Pin
hlrtn23-Dec-02 5:26
hlrtn23-Dec-02 5:26 
GeneralRe: JAVA - JBank project Pin
leppie23-Dec-02 12:36
leppie23-Dec-02 12:36 
GeneralRe: JAVA - JBank project Pin
Anonymous23-Dec-02 14:43
Anonymous23-Dec-02 14:43 
GeneralRe: JAVA - JBank project Pin
Daniel Turini26-Dec-02 0:48
Daniel Turini26-Dec-02 0:48 

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.