I forgot to attach the code that I used ...
Code:
if (!Page.IsPostBack)
{
string genreId = Request.QueryString.Get("GenreId");
if (!string.IsNullOrEmpty(genreId))
{
DropDownList1.SelectedValue = genreId.ToString();
}
}
I noticed that I did not do the FindByValue(genreId) check. When I add this check in, I needed to do the databind.
Just curious as to why my initial code works without the databind?
thanks.
Tulsi