Nevermind! Wish there was a delete button.
+1
A:
The documentation for the HtmlTableRow.InnerHtml property says this: "Do not read from or assign a value to this property. Otherwise, a System.NotSupportedException exception is thrown. This property is inherited from the HtmlContainerControl class and is not applicable to the HtmlTableRow class."
Looks like you can't do this.
Etienne de Martel
2010-04-09 18:26:09
A:
Its not the problem with Master Pages. HtmlTableRow's InnerHtml and InnerText properties are designed like that , they will throw NotSupportedException. Following is the implementation of InnerText property as defined in HtmlTableRow class :-
public override string InnerText
{
get
{
throw new NotSupportedException(SR.GetString("InnerText_not_supported", new object[] { base.GetType().Name }));
}
set
{
throw new NotSupportedException(SR.GetString("InnerText_not_supported", new object[] { base.GetType().Name }));
}
}
And its the same for InnerHtml property.You might have to rethink on your current approach.
Pawan Mishra
2010-04-09 18:26:30