Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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));
 }