Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
222 Points
305 Posts
May 02, 2012 10:21 AM|LINK
AZMatt You will need to do a DataBind() before you try to set the value. The DDL does not have any items in it yet. i = int.Parse(somethin from Session); //e.g. i = 1000 ddlClient.DataBind(); ddlClient.SelectedValue = i.ToString(); //some code Matt
You will need to do a DataBind() before you try to set the value. The DDL does not have any items in it yet.
i = int.Parse(somethin from Session); //e.g. i = 1000 ddlClient.DataBind(); ddlClient.SelectedValue = i.ToString(); //some code
Matt
thx, this works.
M
mixy
Member
222 Points
305 Posts
Re: When is DDL's SelectedValue set ?
May 02, 2012 10:21 AM|LINK
thx, this works.
M
www.sanjskadarila.si