DataList - Data Lost

Discussion in 'ASP .Net' started by Jim Heavey, May 12, 2004.

  1. Jim Heavey

    Jim Heavey Guest

    I have an 5 ASP:DataList embedded into an ASP:Table control as 5
    ASP:TableRow. I am dynamically TableRow controls to this Table control.
    Depending on the content of the DataRows being added, I will set the
    appropriate DataListControls to be visible and set the DataSource.

    When The page is displayed on the Form Load, all is well, but when I hit
    the "Edit" button on one of the DataListControls, the page re-displays
    without running the the "OnItemCommand" event and that control show up as
    an empty row on my grid.

    1st Question: Will the system maintain state for my ASP:DataList?
    2nd Question: If so, why did my datalist not re-display what it had on the
    form load?
    3rd Question: Does adding back the rows to the ASP:Table som how disturb
    the events which were triggered initially when the page is re-loaded?
    Jim Heavey, May 12, 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. Gönen EREN

    Datalist in Datalist How?

    Gönen EREN, Aug 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    396
    Gönen EREN
    Aug 22, 2003
  2. acko bogicevic

    DataList in DataList

    acko bogicevic, Nov 10, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    5,491
    acko bogicevic
    Nov 11, 2003
  3. Steve Lloyd
    Replies:
    1
    Views:
    684
    Rick Spiewak
    May 26, 2004
  4. Nevyn Twyll
    Replies:
    8
    Views:
    1,843
  5. Replies:
    3
    Views:
    11,370
    Patrick.O.Ige
    May 24, 2006
Loading...

Share This Page