Esempio n. 1
0
		public static void SetGroupInline(ControlGroup group, bool value)
		{
			if (value) {
				jQuery.FromElement (group.Controls.El).Attribute ("inline", "true");
				jQuery.Select("label", group.Controls.El ).AddClass("inline");
			} else {
				jQuery.FromElement (group.Controls.El).RemoveAttr("inline");
				jQuery.Select("label", group.Controls.El ).RemoveClass("inline");
			}

		}
Esempio n. 2
0
		public static bool GetGroupInline(ControlGroup group) 
		{
			return jQuery.FromElement (group.Controls.El).GetAttribute ("inline").IsNullOrEmpty () ? false : true;
		}
Esempio n. 3
0
		public static string GetGroupName(ControlGroup group) 
		{
			return jQuery.FromElement (group.Controls.El).GetAttribute ("groupname")??"";

		}
Esempio n. 4
0
		public static void SetGroupName(ControlGroup group, string value)
		{
			jQuery.FromElement(group.Controls.El).Attribute ("groupname", value);
			jQuery.Select("input",group.Controls.El).Attribute ("name", value);
		}