By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,230 Members | 2,427 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,230 IT Pros & Developers. It's quick & easy.

DataList - Data Lost

P: n/a
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?
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.