예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="seed"></param>
 /// <param name="id"></param>
 /// <param name="traverse"></param>
 /// <returns></returns>
 public static Control FindControl(Control seed, string id, bool traverse)
 {
     return(ControlUtils.FindControl(seed, id, traverse, null));
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="seed"></param>
 /// <param name="id"></param>
 /// <returns></returns>
 public static Control FindControl(Control seed, string id)
 {
     return(ControlUtils.FindControl(seed, id, true, null));
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="seed"></param>
 /// <returns></returns>
 public static T FindControl <T>(Control seed) where T : Control
 {
     return(ControlUtils.FindControl(seed, typeof(T)) as T);
 }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="seed"></param>
 /// <param name="shallow"></param>
 /// <returns></returns>
 public static T FindControl <T>(Control seed, bool shallow) where T : Control
 {
     return(ControlUtils.FindControl(seed, typeof(T), shallow) as T);
 }
예제 #5
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="seed"></param>
 /// <param name="id"></param>
 /// <param name="traverse"></param>
 /// <returns></returns>
 public static T FindControl <T>(Control seed, string id, bool traverse) where T : Control
 {
     return(ControlUtils.FindControl <T>(seed, id, traverse, null));
 }