Author: mycwcgr | Posted on: 4/21/2009 7:47:16 PM | Views : 341

        public static void SetStringAlignment(ref StringAlignment aStringAlignment, DropDownList dropDownAlignment, bool isUpdateControls)
        {
            if (isUpdateControls == true)
            {
                dropDownAlignment.SelectedIndex = dropDownAlignment.Items.IndexOf(new ListItem(aStringAlignment.ToString()));
            }
            else
            {
                aStringAlignment = (StringAlignment)Enum.Parse(typeof(StringAlignment) ...

Go to the complete details ...