Ask a Question related to ASP.NET General, Design and Development.
-
Paul Hobbs #1
Replicate HTMLInputFile functionality
Hi All,
I am trying to replicate the functionality of the HTML FileField control. I can use it just fine to prompt a user to browse to a file, and it retrieves the full path just fine. I can then get the file path string by using control.value, and write it to the database. I don't want to actually do anything with the file. What I can't do is programmatically set the value of the FileField control - all the reading I have done says that it is impossible for security reasons.
So, I want to use a standard TextBox control and a Button control, and replicate the functionality of the FileField HTML control. When the user clicks a "Browse" button, s/he should be presented with a the standard Windows OpenFile dialogue box, and when the user selects the file, the full path (including file name) should be plonked into the TextBox. This way, I can programmatically set the text property of the TextBox when the user is editing an existing record - ie: if there is already a path in the db.
Any help greatly appreciated.
Cheers,
Paul Hobbs
Paul Hobbs Guest
-
mysql replicate method?
hi, which method is available to replicate mysql database to another system? Is there a tool for replicate mysql database? have a day. -
HTMLInputFile Control Question
I am using ASP.Net with C# as the code behind and am trying to upload multiple files with the HTMLInputFile Control. I am able to browse, select a... -
Can FCS replicate Shoutcast's capabilities?
:confused; I'm still looking for an answer to this one too. I have FCS and Flash Remoting. I'm sure there has to be a way to do this. Any thoughts? -
HtmlInputFile
How can I can I get the FileName value from an HtmlInputFile control into a textbox? Both controls are in the same row of the datagrid and I'm... -
Help needed with htmlinputfile controls
Hi All, I am looking for help with getting the Value property from a htmlinputfile control when the user selects the Submit button on my form. ...



Reply With Quote

