Dynamically created TemplateColumn does not raise SortCommand

Discussion in 'ASP .Net Datagrid Control' started by Jules Dekker, Feb 13, 2004.

  1. Jules Dekker

    Jules Dekker Guest

    Hi guys,

    I,ve created TemplateColumns dynamically in DataGrid with custom class
    implementing ITemplate. Columns have a SortExpression.

    DataGrid allows sorting. When I sort the column it does not fire the Sort
    Event on the server. So I'm left with a blank page, since all the
    DataBinding etc. is coded in that event.

    Any idea how to solve this?

    Thanx,

    Jules
    Jules Dekker, Feb 13, 2004
    #1
    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. =?Utf-8?B?UGV0ZSBNb3Nz?=

    Maintaining state with a dynamically created TemplateColumn

    =?Utf-8?B?UGV0ZSBNb3Nz?=, Apr 5, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    918
    =?Utf-8?B?UGV0ZSBNb3Nz?=
    Apr 8, 2006
  2. =?Utf-8?B?U2lsdmVyIE9haw==?=

    How to raise event on dynamically created textbox control in DataG

    =?Utf-8?B?U2lsdmVyIE9haw==?=, Nov 10, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    849
    =?Utf-8?B?U2lsdmVyIE9haw==?=
    Nov 10, 2006
  3. Jacol

    raise or not to raise [Newbie]

    Jacol, Feb 3, 2007, in forum: Python
    Replies:
    5
    Views:
    406
    Gabriel Genellina
    Feb 5, 2007
  4. msimmons
    Replies:
    0
    Views:
    472
    msimmons
    Jul 16, 2009
  5. DataGrid, SortCommand, TemplateColumn and rebinding

    , Jul 4, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    113
Loading...

Share This Page