HtmlElement SetAttribute属性失败

时间:2012-10-26 05:24:05

标签: c# html silverlight

HtmlDocument htmlDoc = HtmlPage.Document;
HtmlElement htmlEl;

htmlEl = htmlDoc.GetElementById("UserText");
htmlEl.SetAttribute("scrollHeight", "400");

给我例外SetAttribute Operation failed

有关此的任何想法或解决方法吗?

0 个答案:

没有答案