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
1010
does the WHDG support OnItemCommand?
posted

Can I use command buttons on WHDG rows? I don't see any support for that in the tags or docs.

  • 5739
    posted

    Hi,

    You would use a TemplateColumn for it. Here's a sample

    <ig:TemplateDataField Key="SelectButton">

    <ItemTemplate>
         <asp:Button ID="SelectLink" runat="server" >Select</asp:Button>
      </ItemTemplate>

    </ig:TemplateDataField>

    Ed