Will Events not fire in a datagrid if you set the datasource after the page load?

Discussion in 'ASP .Net Datagrid Control' started by KJ, Aug 11, 2003.

  1. KJ

    KJ Guest

    Will Events not fire in a datagrid if you set the datasource after the page load?

    How can I get around that?
     
    KJ, Aug 11, 2003
    #1
    1. Advertising

  2. KJ

    Teemu Keiski Guest

    What do you mean, for example binding DataGrid on postback event? It works
    just fine and Datagrid's events are raised as they should. The latest stage
    you could do something like this is PreRender.

    --
    Teemu Keiski
    MCP, Designer/Developer
    Mansoft tietotekniikka Oy
    http://www.mansoft.fi

    AspInsiders Member, www.aspinsiders.com
    ASP.NET Forums Moderator, www.asp.net
    AspAlliance Columnist, www.aspalliance.com


    "KJ" <> wrote in message
    news:...
    > Will Events not fire in a datagrid if you set the datasource after the

    page load?
    >
    > How can I get around that?
     
    Teemu Keiski, Aug 16, 2003
    #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. =?Utf-8?B?TWVyZGFhZA==?=
    Replies:
    5
    Views:
    5,867
    neskire
    Nov 7, 2006
  2. Stuart Whiteford
    Replies:
    2
    Views:
    746
    Stuart Whiteford
    Apr 25, 2006
  3. =?Utf-8?B?QnJpYW4=?=
    Replies:
    0
    Views:
    351
    =?Utf-8?B?QnJpYW4=?=
    Oct 5, 2007
  4. mesut
    Replies:
    0
    Views:
    633
    mesut
    Sep 12, 2008
  5. sysdesigner

    Datagrid events only fire if Databind is called in Page Load event

    sysdesigner, Jun 28, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    157
    Teemu Keiski
    Jul 2, 2005
Loading...

Share This Page