F
Flavio
i'm creating a WebUserControl that overrides the RenderContents method,
on that i generate the HTML to the writer.
here the problem is that on the html code of the page i've one more tag
that i doesn't whant <span>!
What can i do to remove this tag from the renderes results?
Overrided Method:
Protected Overrides Sub RenderContents(ByVal output As HtmlTextWriter)
MainRender() ' Generates the Content
output.Write(m_strOutputa)
End Sub
The MainRender method on Overrided Sub RenderContents generates the
folowing HTML code:
<table id="MenuOP1" class="s" width="100px">
<tr>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
</table>
Unfortunaly i get one exta span tag in the html source of page:
....
<span id="MenuOP1" style="display:inline-block;width:100px;"><table
id="MenuOP1" class="s" width="100px">
<tr>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
</table>
</span>
....
How to remove the span tag
on that i generate the HTML to the writer.
here the problem is that on the html code of the page i've one more tag
that i doesn't whant <span>!
What can i do to remove this tag from the renderes results?
Overrided Method:
Protected Overrides Sub RenderContents(ByVal output As HtmlTextWriter)
MainRender() ' Generates the Content
output.Write(m_strOutputa)
End Sub
The MainRender method on Overrided Sub RenderContents generates the
folowing HTML code:
<table id="MenuOP1" class="s" width="100px">
<tr>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
</table>
Unfortunaly i get one exta span tag in the html source of page:
....
<span id="MenuOP1" style="display:inline-block;width:100px;"><table
id="MenuOP1" class="s" width="100px">
<tr>
<td>x</td>
<td>x</td>
<td>x</td>
</tr>
</table>
</span>
....
How to remove the span tag