private SelectedBldInfo GetBldgInfoSelectedRecordID(GridView gvBldgInfo)
        {
            SelectedBldInfo objSelectedBldInfo = new SelectedBldInfo();

            for (int i = 0; i < gvBldgInfo.Rows.Count; i++)
            {
                RadioButton rbBldgInfo = (RadioButton)gvBldgInfo.Rows[i].Cells[0].FindControl("rdBtnSelectBldgInfo");
                if (rbBldgInfo != null)
                {
                    if (rbBldgInfo.Checked)
                    {
                        HiddenField hf          = (HiddenField)gvBldgInfo.Rows[i].Cells[0].FindControl("HiddenLeadBldgID");
                        Label       lblBuilding = (Label)gvBldgInfo.Rows[i].Cells[1].FindControl("lblBuilding");

                        if (hf != null)
                        {
                            objSelectedBldInfo.LeadBldgID = DataUtils.GetInt(hf.Value);
                            objSelectedBldInfo.Building   = DataUtils.GetInt(lblBuilding.Text);
                        }
                        break;
                    }
                }
            }
            return(objSelectedBldInfo);
        }
        protected void rdBtnSelectBldgInfo_CheckedChanged(object sender, EventArgs e)
        {
            SelectedBldInfo objSelectedBldInfo = GetBldgInfoSelectedRecordID(gvBldgInfo);

            hfLeadBldgID.Value       = objSelectedBldInfo.LeadBldgID.ToString();
            hfSelectedBuilding.Value = objSelectedBldInfo.Building.ToString();
            dvNewUnitInfo.Visible    = true;
            BindUnitsGrid();
        }