protected void RadAjaxManagerBaseItem_AjaxRequest(object sender, AjaxRequestEventArgs e)
 {
     if (e.Argument == "Rebind")
     {
         RadListViewBaseItems.Rebind();
     }
 }
        protected void ddListBaseitemSort_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            RadioButtonList rbl = RadListViewBaseItems.FindControl("rblBaseitemSort") as RadioButtonList;

            switch (e.Value)
            {
            case "BaseItemId":
                RadListViewBaseItems.Items[0].FireCommandEvent(RadListView.SortCommandName, "BaseItemId");
                rbl.SelectedIndex = 0;
                break;

            case "BaseItemCode":
                RadListViewBaseItems.Items[0].FireCommandEvent(RadListView.SortCommandName, "BaseItemCode");
                rbl.SelectedIndex = 0;
                break;

            case "CategoryName":
                RadListViewBaseItems.Items[0].FireCommandEvent(RadListView.SortCommandName, "CategoryName");
                rbl.SelectedIndex = 0;
                break;

            case "ClearSort":
                RadListViewBaseItems.SortExpressions.Clear();
                RadListViewBaseItems.Rebind();
                rbl.SelectedIndex = 0;
                break;

            default:
                break;
            }
        }