如何以编程方式在asp.net Textbox中插入文本,这是在asp.net的HTML选项卡中? [英] How to insert text in asp.net Textbox programmatically which is inside of HTML tabs in asp.net?

查看:64
本文介绍了如何以编程方式在asp.net Textbox中插入文本,这是在asp.net的HTML选项卡中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以编程方式在asp.net文本框中插入文本,在HTML标签内,在选定的索引更改下拉列表事件但未插入文本,并且在调试期间我的代码TextBox.Text接受文本但在Textbox上不可见在前面所以请给我解决方案。



谢谢

解决方案

你好Prasad和Rajesh我得到了我的问题的解决方案这个问题发生了,因为更新面板我自己尝试了



感谢你们两位的重播。


< blockquote>由Rajesh / Prasad评论,请分享您的代码以获得确切的答案。

我有一个可能有用的解决方案 - 创建一个JavaScript函数并从您的代码隐藏文件中调用它。如果您需要一个例子,请告诉我。


I am trying to insert text in asp.net textbox programmatically which inside of HTML tabs, on selected index changed event of drop down list but text is not inserted and during debugging my code TextBox.Text accept text but not visible on Textbox in front side so please give me solution for that.

Thanks

解决方案

Hi Prasad and Rajesh i got solution of my question this problem occurs because of update panel i tried it myself

Thanks to both of you for your replay.


As commented by the Rajesh/Prasad, please share your code to get exact answer.
I have one solution that may help is - Create a JavaScript function and call it from your code behind file. Please let me know if you need an example.


这篇关于如何以编程方式在asp.net Textbox中插入文本,这是在asp.net的HTML选项卡中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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