开发者

Why ImageButton control does not show proper coordinate value?

<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" />

In this two labels are added above the image but still the maximum value of image y co-ordinate is 100 Instead It should be 100+


Actually the co-ordinates are taken with respect to image corner not according to page thats why this occurs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜