ComponentOne GridView for ASP.NET AJAX: ComponentOne GridView for ASP.NET AJAX Overview > Upgrading From WebGrid for ASP.NET > Removed Members

Removed Members

The following list notes some of the properties that were removed to better enable you to convert your projects to using the C1GridView control:

      BackColor

      BorderColor

      BorderStyle

      BorderWidth

      Font

      ForeColor

      HScrollbarStyle*

      ImageGroup+

      ImageSortAscending+

      ImageSortDescending+

      ImageUngroup+

      VScrollBarStyle*

 

* HScrollBarStyle and VScrollBarStyle were used in C1WebGrid to set scrollbar settings. C1GridView has a new ScrollSettings class which handles everything C1WebGrid could do and more. To simply turn scroll bars on set the ScrollSettings.ScrollMode property to ScrollBar. To specify orientation set ScrollSettings.ScrollOrientation to Both, Horizontal, or Vertical

+ The Image file paths required for C1WebGrid are no longer required for C1GridView as the images are built-in by default and can be customized using a CSS theme.

The remaining properties that were removed are all styling properties that should now be set on a deeper level in the control. For example, to set a background color you could set the RowStyle.BackColor property.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.