English 中文(简体)
ASP.NET 最新进展
原标题:ASP.NET UpdateProgress height

我在伙伴关系中有一个<代码>最新进展。 NET项目。 。 我尝试用JQuery的文字做这项工作,这样也给<编码>UpdateProgress/code>以适当的高度,但该字母在每张上执行。

What is not clear for me: On each UpdatePanel trigger, are the scripts in the head of html executed everytime? Because my script for equal height is set there and it executes only ones when I open the website.

增 编

最佳回答

我找到了解决办法。 The following must be in the page_Load methods to Let the EqualHalard JQuery methods be implementing each time the Updatepanelstart button is at分立。

ScriptManager.RegisterStartupScript(upnlGuichet, this.GetType(), "equalHeight", "equalHeight($( .InternalItemMainGuichet ));", true);

Here some explanation: http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.registerstartupscript.aspx

问题回答

某些法典将比较容易。

或许可以帮助:伙伴关系中最新的小组机制。 净额取代更新小组内的所有标记。 因此,如果您的触发点在更新小组中,而且你在恢复具有约束力的义务后,将对其活动具有约束力。

You would have to re-bind events after each request ended (you can detect this using the PageRequestManager javascript class provided in the Microsoft Ajax Framework: http://msdn.microsoft.com/en-us/library/bb311028.aspx)

d)





相关问题
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!