开发者

What is the quickest way to find the asp.net file location of an html element in UI?

Let's imagine you have an asp.net page in front of you full of input elements, user controls and panels etc. And you are asked to modify a specific textBox and you do not know where that textBox stands in your project.

Most of the time I use FireBug a开发者_C百科nd try to see the Id of that element but it is not the best way all the time.

So,

What is the fastest way you believe that can be used to locate the source file that houses a specific html element in your web project?

Thanks


I would go with your own suggestion and use Firebug.


I use IE's developer toolbar to hover over the element, grab the ID/Name and Ctrl+F in the page from VS. Depending on your project sometimes looking at the generated ID/Name you'll be able to tell if it's in a user control or not.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜