脚本编辑器控件在ASP.Net中 [英] script Editor Control In ASP.Net

查看:99
本文介绍了脚本编辑器控件在ASP.Net中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





Asp.net中的任何脚本编辑器控件,你可以建议我任何替代方案对于asp.net中的上述控件。



您能否尽快帮助解决这些问题。







谢谢,

Raghava。



Is the any Script editor Control in Asp.net,Can u Suggest Me any Alternative For the above controls in asp.net.

Can you Help these Problem As Soon as possible.



Thank,
Raghava.

推荐答案

这种控制只是元素< textarea。 .. />



要制作脚本编辑器,您需要一个单独的脚本来获取属性的值 value 此元素(它是一个表示文本区域中键入的文本的字符串),只需调用JavaScript函数 eval ,传递这个值作为参数。得到函数的结果,present是其他元素。



这是一个完整的例子:http://sakryukov.org/freeware/calculator/ [ ^ ]。



您可以添加许多其他细节和功能......



享受,

-SA
Such control is simply the element <textarea ... />.

To make is a script editor, you need a separate script which gets the value of the property value of this element (it is a string representing the text typed in the text area) and simply call JavaScript function eval, passing this value as an argument. Get a the result of the function and present is some other element.

Here is a complete example: http://sakryukov.org/freeware/calculator/[^].

You can add a lot of other detail and features…

Enjoy,
—SA


这篇关于脚本编辑器控件在ASP.Net中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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