Esempio n. 1
0
        private static void ConvertFromPickerHyperLinkGridColumn(PickerHyperLinkGridColumn current, GridColumn newColumn)
        {
            switch (newColumn.ColumnType)
            {
            case GridColumnType.BinaryImageGridColumn:

                break;

            case GridColumnType.BoundGridColumn:
                break;

            case GridColumnType.DeleteGridColumn:
                ConvertToDeleteColumnDefaults(newColumn);
                break;

            case GridColumnType.EditGridColumn:
                break;

            case GridColumnType.HyperLinkGridColumn:
                break;

            case GridColumnType.PickerLinkButtonGridColumn:
                break;
            }
        }
Esempio n. 2
0
        public static GridColumn GetNewColumn(string type)
        {
            GridColumn retval = null;

            switch (type.ToLower())
            {
            case "binaryimagegridcolumn":
                retval = new BinaryImageGridColumn();
                break;

            case "boundgridcolumn":
                retval = new BoundGridColumn();
                break;

            case "deletegridcolumn":
                retval = new DeleteGridColumn();
                break;

            case "editgridcolumn":
                retval = new EditGridColumn();
                break;

            case "hyperlinkgridcolumn":
                retval = new HyperLinkGridColumn();
                break;

            case "pickerhyperlinkgridcolumn":
                retval = new PickerHyperLinkGridColumn();
                break;

            case "pickerlinkbuttongridcolumn":
                retval = new PickerLinkButtonGridColumn();
                break;
            }

            return(retval);
        }