I added a TemplateField to DetailsViews control,
then added an empty DropDownList to the TemplateField.
I dynamiclly populated the list when the page run.
But when the page postback, the list is empty.
Both the DetailsViews's and DropDownList's EnableViewState
set to true.
how can i retain the list's content without repopulate it
everytime the page postback
TIA
Brandon Gano - 24 Jul 2007 18:21 GMT
Are you populating the list manually in the Page_Load, or are you using data
binding? Could you post the relevant code from your aspx and code behind
files?
>I added a TemplateField to DetailsViews control,
> then added an empty DropDownList to the TemplateField.
[quoted text clipped - 7 lines]
>
> TIA