English 中文(简体)
页: 1
原标题:asp.net expandable image

我的印象太大,因为我不知会不觉,而是在网页上显示像“+”的信号。 引证这一信号将显示/展示形象。 蚊帐中的哪些组成部分能够做到这一点? 我在《2010年全球抽样调查》工具箱中没有发现任何东西。

最佳回答

勿庸置疑,这样做是有的。 我的第一个想法是利用“联系邦”来显示情况。 给你一个想法:

Aspx page:

<asp:LinkButton id="btn_ToggleImage" Text="+" runat="sever" OnClick="btn_ToggleImage_Click" />
<asp:Image id="img_Prod" runat="server" Visible="false" Source="blah" />

背后法典:

btn_ToggleImage_Click(object Sender, EventArgs e)
{
    img_Prod.Visible = !img_Prod.Visible;
    btn_ToggleImage.Text = btn_ToggleImage.Text == "+" ? "-" : "+";
}

如果你有兴趣使用酒吧,那么你可能做的是比这时高的 cool。

如果 j是选择:

问题回答

蚊帐中没有能够做到这一点的内容。 你们必须撰写一些 j,以实现这一功能。 你们也可以使用后面的代码,使图像纽芬兰语加图像和点击,将图像尿从外加图像改为原始图像。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签