R
Rolf Welskes
Hello,
this is a hint only.
If you make a custom control for example witch generates code
<div> ......</div>
and I put such a control in a page
then in html-view of the aspx-file
I could write
<p>
<c01:MyControl/>
</p>
generated I have:
<p><div>.....</div></p>
this is bad because I have a block-element (div) in a paragraph what seem
not to be good.
But when I am in VS html view and would write
<p><div> .... direktly I get red markers which says that is wrong.
If I take my control the error-systems does know nothing about the tag which
is generated from the control,
I think this problem also occures when I use ready to use controls
for example <p><asp:mytable> ....
I think in the next version of VS the VS-System should also see which tags
are generated from the control to
give error-hints to generate well formed html.
Remark: I work with Web-Projects, not with Visual Web Designer, so I have no
Validation of the html.
Thank you for recognize this problem for a better VS in the future.
Rolf Welskes
this is a hint only.
If you make a custom control for example witch generates code
<div> ......</div>
and I put such a control in a page
then in html-view of the aspx-file
I could write
<p>
<c01:MyControl/>
</p>
generated I have:
<p><div>.....</div></p>
this is bad because I have a block-element (div) in a paragraph what seem
not to be good.
But when I am in VS html view and would write
<p><div> .... direktly I get red markers which says that is wrong.
If I take my control the error-systems does know nothing about the tag which
is generated from the control,
I think this problem also occures when I use ready to use controls
for example <p><asp:mytable> ....
I think in the next version of VS the VS-System should also see which tags
are generated from the control to
give error-hints to generate well formed html.
Remark: I work with Web-Projects, not with Visual Web Designer, so I have no
Validation of the html.
Thank you for recognize this problem for a better VS in the future.
Rolf Welskes