protected void Page_Load(object sender, EventArgs e) { if (ViewStateControlId == null) { GenerateViewStateControlId(); } if (!IsPostBack) { ASPxListBox listBox = comboTransactionType.FindControl("listBox") as ASPxListBox; listBox.SelectAll(); } BindDataToGridView(); }