asp net javascript将document.getElementById()转换为FreeTextBox类型 [英] asp net javascript casting document.getElementById() to FreeTextBox type

查看:100
本文介绍了asp net javascript将document.getElementById()转换为FreeTextBox类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在页面上使用FreeTextBox控件,并且
我需要使用javascript
将document.getElementById()返回的对象转换为FreeTextBox类型
FreeTextBox控件位于FormView

FTB_API [''FreeTextBox1''] ...找不到控件

thx寻求帮助!

Hi,
i''m using FreeTextBox control on my page and
i need to cast object returned by document.getElementById() to FreeTextBox type using javascript

FreeTextBox control is located in FormView

FTB_API[''FreeTextBox1'']... doesn''t find a control

thx for help!

推荐答案

什么是FreeTextBox,它是用JavaScript编写的第三方控件?还是服务器端类,而您只是不知道自己在做什么?
What is a FreeTextBox, it''s a third party control written in javascript ? Or is it a server side class, and you just have no idea what you''re doing ?


sh1t,忘记了clientID)
''<%= FormView1.FindControl("FreeTextBox1").ClientID%>''
帮助)):)
sh1t, forgot about clientID)
''<%=FormView1.FindControl("FreeTextBox1").ClientID%>''
helped)) :)


这篇关于asp net javascript将document.getElementById()转换为FreeTextBox类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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