Tim, I tried for you both single Page and a redirected Page from a Login one
but I didn't get any error ! So Redirecting doesn't cause twice adding.
Are you sure you did populate DropDownList just in (!Page.IsPostBack) block.
Maybe you did it from Properties --> Items collection before//
"Tim" <Ti*@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
Hi Peter,
Actually this page is getting redirected from other authentication page,
does it causes the problem.
"Peter Rilling" wrote:
Are you doing any redirects? Postback only happens when the form is
posted using a submit command.
"Tim" <Ti*@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com... To make !Page.IsPostBack to work, do I need to set any properties at
page level or in the config files(Web, machine) or aspx files. Because code
in under the !IsPostBack is executing twice and adding data twice to
dropdown list control.
any help please..Tim