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

Customize Styles for RadGridView Row Validation

1 Answer 357 Views
GridView
This is a migrated thread and some comments may be shown as answers.
J C
Top achievements
Rank 1
J C asked on 31 Mar 2015, 07:54 AM
Hi,

May I know is there anyway to style the row validation of Telerik Rad Grid View where I only want a red border line to highlight the particular row that have error, but not the default style where the entire row is in red. 

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 01 Apr 2015, 01:06 PM
Hello,

To achieve your goal, you should edit the template of GridViewRow element and delete the invalid visual state (RowInvalid). You can consider Using Implicit Styles. In that case, you can find the current template of GridViewRow and directly modify it in the respective Telerik.Windows.Controls.GridView.xaml file located in Themes.Implicit folder under the particular Theme you use. You should change it as per your specific requirements.

I hope this helps.

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
J C
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or