Custom Item Button/Command

3 posts, 0 answers
  1. Josh
    Josh avatar
    3 posts
    Member since:
    May 2016

    Posted 08 Jan 2017 Link to this post

    I am trying to test the custom command button functionality. The function does not appear to run. 



        <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" />
                    Custom command item template
                    <asp:LinkButton ID="TestButton" runat="server" CommandName="Test" >Test</asp:LinkButton>
                    <br />


    protected void RadGrid2_ItemCommand(object sender, GridCommandEventArgs e)
            if (e.CommandName == "Test")
                string scriptstring = "radalert('Welcome to Rad<b>window</b>!', 330, 210);";
                ScriptManager.RegisterStartupScript(this, this.GetType(), "radalert", scriptstring, true);



  2. Josh
    Josh avatar
    3 posts
    Member since:
    May 2016

    Posted 09 Jan 2017 in reply to Josh Link to this post


    Attached is a sample project. Can you tell me why the event is not firing? 


  3. Kostadin
    Kostadin avatar
    1733 posts

    Posted 11 Jan 2017 Link to this post

    Hello Josh,

    I would appreciate if we continue our conversation in the support ticket which you have opened with the same requirement.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top