Is there a way to inspect/spy elements in a web browser like firebug does when we move the mouse over the webpage? How to to it in c#??
EDIT:
Actually I just want to get the HTML source code from the tagged element.
Best regards.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Asp.Net framework uses “HTMLTextWriter” class to generate the HTMl markup for server controls.If say for example , you want the HTML markup for gridview control , then you can make use of this class and its associated member functions to get the markup.But again its all a part of server side logic and achieving the same through client side code is not that easy.If you can provide more information on whats the exact requirement then it will be quiet nice.