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

Customize ShowInsertRow text

1 Answer 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 13 Apr 2011, 06:11 AM
Hi ,

Two Requirement
----------------------

First
-------
I do have a hierachical grid, I have ShowInsertRow enabled at both the grid. My requirement is to have two different text for parent ADD and Child ADD, All the child grid will have text as CHILD and Parent ADD will have text as PARENT.

Second
----------
Need to apply different tooltip for parent and child grid,

Note: I am not using any resource file as of now.

Please advice.

Attached screenshot.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 13 Apr 2011, 09:25 AM
Hello David,

 

I believe that the best option in your case is to set different NewRowStyle for parent and child grids. Within its template juts remove the LocalizationManager from the TextBlock element and add your own custom text. Please note that you will loose the Localization Capabilities doing this. Also you may set the appropriate tooltip to this TextBlock as shown at the attached project.


Please run the example and let me know how this works for you!

 

Kind regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or