public void ControlName_EventName() { Call C# method }
Mark This Response as Answer -- Chandu http://www.dotnetfunda.com/images/dnfmvp.gif
<asp:LinkButton ID="LinkButton1" Style="color: #000; text-decoration: none; cursor: text;" runat="server" OnClick="LinkButton1_Click">LinkButton</asp:LinkButton>
protected void Page_Load(object sender, EventArgs e) { LinkButton1.Attributes.Add("onmouseover", "this.click()"); } protected void LinkButton1_Click(object sender, EventArgs e) { Response.Write("it works"); //Here you can write your own code. }
Login to post response