使用asp.net timerControl在ontick事件中显示警告消息 [英] display alert message in ontick event using asp.net timerControl

查看:92
本文介绍了使用asp.net timerControl在ontick事件中显示警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我使用的是Asp.net,Vs2008。



如何显示提醒使用asp.net上的计时器刻度事件消息。



请帮助...



问候

Mukesh

Hi,

I am using Asp.net , Vs2008.

How to display alert message on timer tick event using asp.net.

please help...

Regards
Mukesh

推荐答案

尝试:
ScriptManager.RegisterStartupScript(this, GetType(), "keyName", "alert('your message');", true);

在Tick事件中。

您必须在表单标记内放置一个ScriptManager才能使其正常工作。

inside the Tick event.
You'll have to place a ScriptManager inside the form tag to make it work.


这篇关于使用asp.net timerControl在ontick事件中显示警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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