Hello,
Is there a way to re-template or re-style summary dialog? I would like to localize some text on dialog controls (i.e. buttons)
Thank you.
HI,
I am attaching a sample that re-templates the SummarySelectorControl.
You can change the Okcaption and CancelCaptions.
Sincerely, Matt Developer Support Engineer
Thank you very much
I discussed this with a developer, and that property might not be accessible. He suggested, as you did, to retemplate the SummarySelectionControl.
I will ask Developer Support to open a case for you and assist you with retemplating the control.
Elizabeth Albert
Localization Engineer
It should be possible to translate the "Cancel" button caption using the following property.
Infragistics.Controls.Grids.Primitives.SummarySelectionControl.CancelCaption
Please view this API page for more information.
This approach should be much easier than translating the entire run-time strings resource file.
Sorry about the confusion.
If the requirement is simply to change the text of the summary options in the summary dialog, it’s unnecessary to retemplate the summary dialog. The summary options or SummaryOperands as we name them are built dynamically. You can access the properties for these items off of the column’s SummaryColumnSettings.SummaryOperands collection and modify the SummaryOperand’s SelectionDisplayLabel property.
You can find a code example and more information on customizing row summaries by reviewing the following Help Link
http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=xamGrid_Formatting_Row_Summaries.html
This link is for 10.3, but these instructions will work with 10.2