This is a migrated thread and some comments may be shown as answers.

GridView Design Properties Missing

4 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
meraj
Top achievements
Rank 1
meraj asked on 23 Mar 2011, 01:17 PM
Hi
   I need alternative for the following Properties available in Januses Grid Control, I am converting my application from Januses to Telerik. 

Grd.AlternatingColors = True
Grd.BackColor = Color.FromArgb(211,228,249)
Grd.AlternatingRowFormatStyle.BackColor = Color.FromArgb(211,228,249)
Grd.ControlStyle.ControlColor = Color.FromArgb(103,147,223)
Grd.ControlStyle.ScrollBarColor = Color.FromArgb(232,238,250)
Grd.HeaderFormatStyle.BackColor = Color.FromArgb(103,147,223)
Grd.HeaderFormatStyle.BackColorGradient = Color.WhiteSmoke
Grd.SelectedFormatStyle.BackColor = SystemColors.Highlight
Grd.TableHeaderFormatStyle.BackColor = Color.WhiteSmoke
Grd.RowFormatStyle.BackColor = Color.FromArgb(232,238,250)
Grd.RowFormatStyle.ForeColor = Color.FromArgb(253,255,237)
Grd.FocusCellFormatStyle.BackColor = Color.FromArgb(253,255,237)
Grd.GridLines = GridLines.Vertical
Grd.GridLineStyle = GridLineStyle.Solid
Grd.VisualStyle = VisualStyle.Office2003
Grd.GroupRowFormatStyle.BackColor = color.fromArgb(211,228,249)
Grd.GroupRowFormatStyle.BackColorGradient = Color.WhiteSmoke

This seems very difficult to get alternative for all the above properties. I hope Telerik Support knows and can help me out quickly. I am sure some of the above properties are not available as built-in, but i hope an alternative from telerik team would be confered.

4 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 25 Mar 2011, 10:38 AM
Hello Meraj,

You won't really find all these properties because things are done a little bit different in telerik's grid.
For alternating row colors According to this help article:
this.radGridView1.EnableAlternatingRowColor = true;
radGridView1.TableElement.AlternatingRowColor = Color.Yellow;

For all the rest, because all of these are theme related, i recommed that you create a custom theme for your application, this all can be achieved from Visual Style Builder. For help you could check out the video training for visual style builder here.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Telerik WinForms MVP


0
meraj
Top achievements
Rank 1
answered on 26 Mar 2011, 12:52 PM
Thanks for the reply, i could not find the video related to Theme Manager for windows GridView ( rad ). Can you give the exact link of the video? The one i found out is that of web grid, i need windows grid for telerik. (RadGridView).
0
meraj
Top achievements
Rank 1
answered on 26 Mar 2011, 01:00 PM
I am able to find "New Theme Manager" option in smart tag on WinForm GridView, but when i click on the link to open Theme Manger, i get an error message as follows.

"Error invoking 'New Theme Manager'. Details: Only one theme manager per form is allowed"
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 26 Mar 2011, 05:39 PM
Hello again Meraj,

I guess you created your custom theme using the Visual Style builder, because of the other thread you have opened on using a custom theme.

If you have any more questions please just let me know, and if the question has been solved, please mark the question as answered, so that others can find the answers to their questions faster.

Best Regards,
Emanuel Varga

Telerik WinForms MVP
Tags
GridView
Asked by
meraj
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
meraj
Top achievements
Rank 1
Share this question
or