Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Created Unassigned: GetAttributeAt returns null [9063]

$
0
0
Hello,
if I use the GetAttributeAt method like `htmlPanel.HtmlContainer.GetAttributeAt(e.Location, "alt");` with the following input text

`<p><img src="human.png" alt="human"/></p>`

the method return `human` correct. But if I use the input text

`<p>test <img src="human.png" alt="human"/></p>`

it only returns `null`.

I use the `HtmlContainer` like I show in [Discussion #575515](https://htmlrenderer.codeplex.com/discussions/575515)

Can you please fix this method.

Thank you.

Viewing all articles
Browse latest Browse all 693

Trending Articles