datagrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arun

    datagrid

    Datagrid sort event handler does not get fired
    when dynamically creating/adding/removing columns to the datagrid

    Thanks in advance for your answers

    Arun


  • Munawar Hussain

    #2
    Re: datagrid

    Hi,

    Make sure you have registered Sort command event and event handeler

    like this
    this.DataGrid2. SortCommand += new
    System.Web.UI.W ebControls.Data GridSortCommand EventHandler(th is.DataGrid2_So rtCommand);

    AND

    private void DataGrid2_SortC ommand(object source,
    System.Web.UI.W ebControls.Data GridSortCommand EventArgs e)

    {


    }



    If you have both these ... then clear reason for not firing the event...

    Kindly, check these event.



    Best Luck..

    Munawr Hussain


    "Arun" <nospam@nospam. com> wrote in message
    news:ezBIhNdQGH A.5592@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Datagrid sort event handler does not get fired
    > when dynamically creating/adding/removing columns to the datagrid
    >
    > Thanks in advance for your answers
    >
    > Arun
    >
    >[/color]


    Comment

    Working...