Here is the code, the problem is that the inputControls.Count is always Zero and cannot execture any further code.
my question how can I fix the fir two list code?
and I do not know why this.Page.Form.Controls[11].Controls // the index of 11 means
List
where c.GetType() == typeof(TextBox)
select c ).ToList();
List
where c.GetType() == typeof( HtmlGenericControl ) &&
( (HtmlGenericControl)c ).TagName == "div"
select c ).ToList();
if ( inputControls.Count > 0 )
this is some code from the GUI interface
I have about 20 fields that they all have same format as this
any help is appreciated.
Bob
Kevin AungPosted Jan 15, 2011, 1:59 AM