如何在asp.net上的文件上传器控件上显示鼠标上的消息 [英] how to show message on mouse over on file uploader control in asp.net

查看:33
本文介绍了如何在asp.net上的文件上传器控件上显示鼠标上的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图在鼠标悬停时显示文件上传器控件上的消息。

消息应显示高度和宽度应为222px和334px。

任何人都有任何想法。

谢谢&问候

解决方案

为此您必须创建一个页面,其中包含您的要求高度和宽度...



然后使用此方法将鼠标悬停在文件上传器控件上

attributes.add(onmouseover,< your javascript =function =name => )



现在用你在属性方法中提供的相同名称编写你的javascript函数



in函数将预先创建的html页面调用为window.open方法以显示消息...


只需参考此链接,您可以在完成项目后获得一些想法。



http://www.aspdotnet-suresh.com/2010/12/how-to-validate-file-type-in​​-file.html [ ^ ]

我可以直接在attributes.add(onmouseover,)中给出消息

like attributes.add(onmouseover,here message)。

这将显示here message


Hi
I am trying to show message on file uploader control on mouse over.
message should be display height and width should be 222px and 334px.
any one have any idea.
thanks & regards

解决方案

For this you have to create a page with your requirement height and width...

then add a mouse over event to your file uploader control using this method
attributes.add("onmouseover","<your javascript="" function="" name="">")

now write your javascript function as with the same name you provide in attributes method

in that function call your pre created html page as window.open method to display message...


Just refer this link you may get some idea after you can do your project aspects.

http://www.aspdotnet-suresh.com/2010/12/how-to-validate-file-type-in-file.html[^]


can i give directly message in attributes.add("onmouseover","")
like attributes.add("onmouseover","here message").
this will be display " here message "


这篇关于如何在asp.net上的文件上传器控件上显示鼠标上的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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