如何在服务器端操作上向客户端显示消息? [英] how to show message to client on server side operation?

查看:68
本文介绍了如何在服务器端操作上向客户端显示消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友..

我正在上传pdf文件...如果单击上传..",我将检查pdf文件..

pdf文件页面大小....应该显示邮件大小已检查,否则如果大小不足则无效,

它会检查lansacpe或Potrate ..等操作...

但是,当我检查pdf文件时,我想向客户显示消息,这种感觉就像..进度条..

请帮我.

注意.

shivanand

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

推荐答案

您需要在回发中将javascript写入页面,在弹出窗口中显示消息,或者只需要将其写入页面.您的prerender事件会在控制事件之后触发,因此,除非您可以在失败的实际事件中执行验证消息,否则这里就是编写验证消息的地方.
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.


这篇关于如何在服务器端操作上向客户端显示消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆