The following techniques will help you test your custom components.
At design time, you can check the code generated by a component using the Tag Viewer.
To check it at runtime, when the component is printed to a webpage opened on a browser, you can:
- Open the source code of the page from the web browser (usually + ), and look for your component’s code.
- Right-click on your component and select “Inspect Element”, to get the component code focused on your browser’s developer tools widget.
Of course, these instructions will vary from browser to browser, and might not be available on some browsers.
At runtime, you will get the errors directly in the webpage.