English 中文(简体)
Linkbutton OnCommand notfire after up to Net 4
原标题:Linkbutton OnCommand not firing after upgrading to .Net 4

我有一个在伙伴关系中撰写的网络信息项目。 净额3.5和工作罚款。 由于各种原因,我决定将该数据库升级为4.0。 升级换了罚款。 然而,在某个特定页上,我有某些连接点,用手法击事件。 这一事件从未点击。 网页上的其他控制,如连接塔顿与客户旁码和电离层雷达工作罚款。

本年度工作计划

<asp:LinkButton ID="InsertLinkButton" runat="server">
<asp:Image ID="ImageButton1" runat="server" />Add New Employee</asp:LinkButton>
//Code behind adding javascript event
InsertLinkButton.Attributes["onclick"] = String.Format("return ShowInsertForm();");

n

<asp:LinkButton ID="ALinkButton" runat="server" CommandName="A" OnCommand="LinkButton_Command" ">A</asp:LinkButton>

该网页是带有主页的内容页。 任何想法?

最佳回答

载有这些管制的小组被提及为对位于标识内的Telrik RadAjaxManager进行的最新控制。 如果我去除RadAjaxManager,那就行了。 显然,联系邦的指挥活动向亚克斯的报警开火。 由于这项工作在3.5年进行,我很想知道,有些元数据是否在3.5和4升级期间适当转换?

不管怎么说,我更新了RadAjaxManager的所谓“Ajax”呼吁的内容,现在它已经运作。 得到帮助!

问题回答

我不敢肯定这只是你职位上的打字,但你在“联系邦”上的标记是正确的。

目前:

<asp:LinkButton ID="ALinkButton" runat="server" 
    CommandName="A" OnCommand="LinkButton_Command" ">A</asp:LinkButton>

应当:

<asp:LinkButton ID="ALinkButton" runat="server"
    CommandName="A" OnCommand="LinkButton_Command">A</asp:LinkButton>




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

热门标签