TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


Loop through an ASP.NET Page controls using the T way

public static T FindControl<T>(this Control control, string controlId) where T : Control
{
    return (T)control.FindControl(controlId);
}

 


Categories: ASP.NET | C#
Posted by Admin on Wednesday, March 11, 2009 7:56 AM
Permalink | Comments (0) | Post RSSRSS comment feed
Comments are closed