Click here to Skip to main content
15,904,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends..

i am uploading pdf file... if i click upload.. i will check the pdf file ..

pdf file page size .... shoud show message size checked or else invalid size if it suceessfull size then

it will check lansacpe or potrate.. and so on operation...

but while checking the pdf file i want to show message to client this opeartion is going like.. progress bar..

Plz help me.

regard.

shivanand
Posted
Updated 3-Aug-12 3:51am
v2
Comments
Sandeep Mewara 3-Aug-12 10:38am    
while checking the pdf file i want to show message to client this opeartion is going like.. progress bar.
It will hardly take few milliseconds to check size/layout... whats the point of any progress thing?

1 solution

You need to write javascript in to your page on a postback, that shows the message in a popup, or you need to just write it in to the page. Your prerender event fires after your control events, so that's the place to write any validation messages, unless you can do them in the actual event that fails.
 
Share this answer
 
Comments
shivanand G N 7-Aug-12 9:53am    
Hi plz understand the question?

if i click upload button...

so many condtion will check and each condtion had a messages...

so while running i want to show all the message to client... like uploaded file size is checked and next uploaded file is lanscape and so on message will come under upload click event... it shoud be like progress bar.

plz can u send the javascript if that work fine then i will use..
Christian Graus 7-Aug-12 17:47pm    
No, sorry, I don't give people code. That way, I weed out people not willing to learn or do their own work. You edited this a lot since I replied. You can't show a progress bar without using a flash component to send the file via FTP, at least, not a real one. you can show a circular one. If the file was OK, it's trivial to insert js to show a message box, if you can't do that, you can't do any of this.

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