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?
"chenhong" <> wrote in message
news:ePhv%...
>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
>
>
|