笔记
是的,客户端必须是 java 脚本,但我的问题不是这样。
我在问我可以使用 c# 语言来实现在“单击侧事件”上触发的“动作”,例如鼠标悬停
这个愚蠢问题的原因是我记得一些为formview的特定事件注册函数的语法,这些函数在事件发生时被调用(是的,涉及回发”
对于使用 c# 甚至 vb.net 的客户端事件,可能类似于上述内容
这是我想问的一小部分
protected void Page_Load(object sender, EventArgs e)
{
Label3.Text = "this is label three";
Label3.Attributes.Add("OnMouseOver", "testmouseover()");
}
protected void testmouseover()
{
Label4.Text = "this is label 4 mouse is working!!";
}