dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to Set Value in <input type=file>

  1. #1
    Join Date
    Jul 2005
    Posts
    17

    Question How to Set Value in <input type=file>

    Hi,

    I have a situation to set the Value in a <input type=file>. Even i set the Attribute("Value")="C:\" it is not working. Can you help me.

    Felix

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I don't know of any way to set the initial value of a file input control.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    May 2005
    Location
    UK
    Posts
    278
    If you change your html input control to an asp.net server control or even use the runat server it, may be you could get more flexibility to add attributes, moreover an upload process will have to go to the server so i guess there is nothing wrong in using the server control...
    Sri

Similar Threads

  1. Getting a GUI to run
    By Eric in forum Java
    Replies: 4
    Last Post: 04-14-2006, 09:09 AM
  2. Dynamic Query in SQL7 called from VB6/ADO
    By Paul Moss in forum VB Classic
    Replies: 2
    Last Post: 03-28-2002, 06:46 PM
  3. Usercontrol's never been terminated
    By Rattagarn V. in forum VB Classic
    Replies: 5
    Last Post: 10-09-2000, 07:36 AM
  4. Replies: 0
    Last Post: 10-04-2000, 03:45 PM
  5. Re: How to set the DataSource to UserControl
    By Nick Koszykowski in forum VB Classic
    Replies: 0
    Last Post: 03-28-2000, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center