|
-
Jun 13th, 2002, 05:01 AM
#1
Thread Starter
Lively Member
How to browse
Hi,
I am trying to develope a web site whereby a person can browse there local drive select a file and upload to web server. My first question is there a built in component which can be used for browsing file system. Second question, what code do i need to actually get the file uploaded.
ih yeah, another little teaser. I have a button i don't want visible upon page_load, so i set the visible property to false i then need the button to be visible when another button is pushed so i write inside on_click event button.visible = true , thing is the button stays invisible?
Thanks In Advance
Deano
-
Jun 20th, 2002, 09:22 PM
#2
New Member
a) Try using the HTML File Control to let the user browser their computer and select a file. Not sure about uploading it, but that's a great start.
b) This is the way I understand the on_click event business (I could be wrong, and if I am, I'm sure I'll be corrected): since all the controls run on the server, and not in your user's browser, when they trigger the onclick, the button DOES make itself visible... to the server! The user won't see the button until the ASP page refreshes... and since you have in page_load for the button to set invisible, it'll always be invisible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|