.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Gridview inside File Upload control validation using java script..

Posted By: gopal     Posted Date: March 01, 2011    Points:2   Category :ASP.Net
hi..

i have a gridview in that i have checkbox and file upload controls and common submit button outside gridview.



if i checked a row checkbox and i need to check whether the file upload control contains any value or not.then i will insert the details into database table.

if not means i will show a message.

if not checked means its not a problem no need to validate the control.

how to do this..

need ur suggestions with examples
regards
gopal.s

Responses
Author: Thirumavalavan             
Posted Date: March 02, 2011     Points: 20   

Hi,
Check and loop the Gridview by using Javascript. Set a object for File upload control and validate the
value in the text box in File upload control.If no value specified throw the Error.
Hope you get some idea.

Thanks,
Thiru



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend