ASP.NET: Getting all the page's control as IEnumerable

SweeceBrart

New Member
I'm trying to use the page control's collection with LINQ.Whereas this works:\[code\]dim l = Me.Controls.OfType(Of TextBox).AsQueryable()\[/code\]the following return an ArgumentExceptionError:\[code\]dim l = Me.Controls.AsQueryable()\[/code\]I need all the controls. Any help?Thanks
 
Back
Top