if (dvCategoryMaster.CurrentMode == DetailsViewMode.Edit) { DropDownList ddlParentCategory = (DropDownList)dvCategoryMaster.FindControl("ddl"); ddlParentCategory.Items.FindByValue(categoryInstance.Category_Parent_ID.ToString()).Selected = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)