我收到此错误
**无法找到控件ID'ctl00 $ ContentPlaceHolder1 $ gvExpense $ ctl03 $ lblIncTotalAmt'由'cmpAmountAdj'的'ControlToValidate'属性引用**
这里CompareValidator“cmpAmountAdj”在gridviewrow里面 strGridControlToValidate 是父页面的网格视图的ID strControlToValidate 是父网格视图页脚内文本框的ID
((CompareValidator)e.Row.FindControl("cmpAmountAdj"))
.ControlToValidate = ((Label)(GridView)this.Parent
.FindControl(strGridControlToValidate)).FooterRow
.FindControl(strControlToValidate)).UniqueID;
请建议......