为什么ImageButton控件没有显示正确的坐标值?

时间:2011-01-11 11:31:00

标签: asp.net imagebutton

<asp:Label ID="Label1" runat="server" Text="Click Image Button"></asp:Label><br />
<asp:Label ID="Label2" runat="server" Text="See The Co-ordinates"></asp:Label>
<br />
<asp:ImageButton ID="ImageButton1" runat="server" Height="100" Width="100" ImageUrl="~/DSC06427.jpg" onclick="ImageButton1_Click" />

在这两个标签添加到图像上方但图像y坐标的最大值仍然是100而不是它应该是100 +

1 个答案:

答案 0 :(得分:0)

实际上,相对于图像角的坐标不是根据页面说明为什么会发生这种情况。

相关问题