如何将Javascript函数映射到ASP.Net控件? [英] How can I map the Javascript function to ASP.Net Controls?

查看:67
本文介绍了如何将Javascript函数映射到ASP.Net控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经学会了Java脚本.在Function()中编写一些动画代码,并将其映射到HTML图像控件.我只想对asp.net图片控件执行相同的操作.如何将其映射到ASP.NET控件?我有一个工作任务是要显示相册幻灯片放映.......
尽快回答

I have learnt the Java Script. Wrote some animation code in Function() and mapped it to the Html image control. I just want to do the same to the asp.net image control. How can i map that to the ASP.NET Controls? I have a work task that is to show an Album Slide Show.......
Do Reply ASAP

推荐答案

这很简单.将标签添加到您的ASP.NET控件中,如果ASP.NET无法识别它,它将按原样呈现它,因此编写您的常规事件代码,它就可以使用.
It''s trivial. Add a tag to your ASP.NET control and if ASP.NET does not recognise it, it just renders it verbatim, so write your normal event code, and it will just work.


这篇关于如何将Javascript函数映射到ASP.Net控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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