Jump to content
Sign in to follow this  
snufff

.NET WebControls

Recommended Posts

When Visual Studio 2005.net renders a WebControl he creates a span tag.Is this HTML correct?<table> <tr> <span id="thisIsWhatMyWebControlGenerates"> <td>Label </td> <td>Value </td> </span> </tr><table>He works fine, but can be wrong...the question is that the tag span is nested with tr tag

Share this post


Link to post
Share on other sites

That is not correct HTML it should have a closing </span>.Post your .net code, I am sure there is a reason it is being generated that way.

Share this post


Link to post
Share on other sites

Sorry I did not read that closely enough.No that is definately not valid HTML.After all I heard about how VS 2005 was supposed to improve how they generated HTML I am dissappointed to see that.Just incase can you post the code you have for that page and I'll see if I can spot anything that looks out of place, but chances are that is just a bug in VS 2005.VS 2003 is full of junk like that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...