SortCommand not handled

Discussion in 'ASP .Net Web Controls' started by Mircea Pleteriu, Jun 23, 2004.

  1. Hi,

    I have a composite web custom control which contains a DataGrid control
    Within the control I register the interest in the SelectedIndexChanged event
    of the grid.
    Even if the page is postbacked when the user selects an item on the grid the
    the handler of the event inside the control is not entered.

    Any idea?
     
    Mircea Pleteriu, Jun 23, 2004
    #1
    1. Advertising

  2. Mircea Pleteriu

    Teemu Keiski Guest

    Hi,

    does the composite control itself implement INamingContainer interface? Do
    you register for the SelectedIndexChanged event in CreateChildControls?

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist
    http://blogs.aspadvice.com/joteke


    "Mircea Pleteriu" <> wrote in message
    news:...
    > Hi,
    >
    > I have a composite web custom control which contains a DataGrid control
    > Within the control I register the interest in the SelectedIndexChanged

    event
    > of the grid.
    > Even if the page is postbacked when the user selects an item on the grid

    the
    > the handler of the event inside the control is not entered.
    >
    > Any idea?
    >
    >
     
    Teemu Keiski, Jun 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. EatHam

    SortCommand not firing

    EatHam, Jan 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    579
    EatHam
    Jan 21, 2004
  2. Ken Tucker
    Replies:
    2
    Views:
    2,572
    Ken Tucker
    Jul 6, 2003
  3. John Sturgeon

    DataGrid SortCommand event not triggered

    John Sturgeon, Nov 26, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    587
    John Sturgeon
    Dec 2, 2003
  4. =?Utf-8?B?UGF1bA==?=

    SortExpression makes SortCommand event not to trig

    =?Utf-8?B?UGF1bA==?=, Sep 22, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    476
    =?Utf-8?B?UGF1bA==?=
    Sep 22, 2005
  5. jobs
    Replies:
    0
    Views:
    1,511
Loading...

Share This Page