Vinoth P

Vinoth P

  • NA
  • 1
  • 2.3k

How to call onRowCommand event from custom control page

Jun 6 2013 8:06 AM

I wrote a code to create the GridView in Custom Control Page(example : HWGridView.cs). Custom Control Page(HWGridView.cs), this page have all the event that can be used in GridView including OnRowCommand..etc.

Below the code, used in aspx page for creating GridView using Custom Control,

<grid:HWGridView runat="server" ID="grdView" AllowSorting="true"  OnRowCommand="grdView_RowDataBound" >
</grid:HWGridView>

How can i call OnRowCommand event from Custom Control Page(HWGridView.cs)

please refer the code from this link

http://dotnetslackers.com/articles/gridview/Custom-GridView-with-Paging-and-Filtering.aspx