Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
which button I Clicked in TemplatedField?
posted

 I add a TemplatedField in an UltraWebGrid. and it has two LinkButton in this TemplatedField.

How can I get which LinkButton I Cliecked in Client-Side??

  • 28464
    posted

    You can probably use the OnClientClick property of the LinkButton to point to different javascript functions

        <asp:LinkButton runat="server" ID="LinkButton1" OnClientClick="clientClick1()" />
        <asp:LinkButton runat="server" ID="LinkButton2" OnClientClick="clientClick2()" />