Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i restrict user for uploading image for specific size means some specific height and width.
Posted
Updated 17-Jan-14 18:43pm
v2

 
Share this answer
 
Comments
AS Rao 18-Jan-14 1:18am    
i want validate file upload from client side can u suggest code in java script
Karthik_Mahalingam 18-Jan-14 1:28am    
AFAIK in javascript we cannot perform this action..
what you can do is, create a small popup window for uploading, in that you can check the dimensions and validate it..
so that post back will not be there for the parent page...
AS Rao 18-Jan-14 1:35am    
its not suitable for my page because my page contains 4 file upload controls.
Karthik_Mahalingam 18-Jan-14 2:00am    
you can create a single pop for all 4
 
Share this answer
 
Comments
AS Rao 18-Jan-14 1:00am    
i want to validate client side

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900