/// <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)); }
/// <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)); }
/// <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); }
/// <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); }
/// <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)); }