无法更改文本框ID [英] Can't change the Textbox Id

查看:203
本文介绍了无法更改文本框ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我更改文本框的ID时,它显示目录无效.问题是什么.为什么我不能更改ID?知道的人请帮帮我.

谢谢

When I change the Id for the Textboxes, It displays the directory is invalid. What is the Problem. Why I can''t change the Id?. Anybody known please help me.

Thank you

推荐答案

也许已经有一个同名文本框.如果您使用的是Web表单,则只需在代码视图中进行操作即可.错误不是在更改ID时,而是在VS尝试查找所有引用以更新名称时出现的错误.
There is perhaps a textbox with same name already. If you are using web form then just do it from the code view and it will work. The error is not while changing the ID the error comes when the VS tries to find all references to update the name.


这篇关于无法更改文本框ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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