Click here to Skip to main content
15,905,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a web form with five upload controls and files are getting uploaded in this way...




SQL
if (file1.ContentLength > 0)
            {

                //somecode to insert
            }


SQL
if (file2.ContentLength > 0)
            {

                //somecode to insert
            }



SQL
if (file3.ContentLength > 0)
            {

                //somecode to insert
            }




I want to show a gif image or something next to every control which has a file as long as its in process.
Posted

1 solution

With the help of Jquery, u can achieve this!!!

U need to take a div, into that div to need to call the img with diplay:none initially.

While using ajax call on click to upload control to need to show and hide the the div.

Hope, u will understand. Feel free to ask if any issues!!!!
 
Share this answer
 

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