C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » ASP.NET WebForms »

File Upload Control


Posted Date: 22 Jul 2009    Resource Type: Code Snippets    Category: ASP.NET WebForms
Author: Praveen PulaMember Level: Gold    
Rating: 1 out of 5Points: 2



A small Tip to make the text area in File Upload control to read-only.

Avoids user from entering Garbage value and create errors for us


< input type="file" name="txtUploadFile" size="50" onkeypress="return fnreadonly(this);" onkeydown="return fnreadonly(this);" >



Kindly let me know if it helps



Responses

Author: Mohammad Vahaj uddin    23 Jul 2009Member Level: Silver   Points : 0
Yes Praveen it helped but do u know how to upload multiple attachements?


Author: Abhay    14 Aug 2009Member Level: Diamond   Points : 1
Hi pRAVEEN,

good one .

keep it up.

contribute more.

Thanks and Regards
Abhay


Author: Abhinav Misra    14 Aug 2009Member Level: Silver   Points : 0
you must also post the js file


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Readonly in File Upload  .  File upload tip  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Add and Remove Trace listener
Previous Resource: Convert image to text
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET WebForms


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use