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

ConfirmText with a new line

1 Answer 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
digitall
Top achievements
Rank 1
digitall asked on 12 Nov 2008, 01:42 AM
I am using the RadGrid's ConfirmText property on a GridButtonColumn to show a "are you sure you wish to delete this?" type of message. I am wanting to give the message some HTML and a new line to give more prominence to it. Is this possible?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Nov 2008, 07:44 AM
Hello digitall,

In traditional browser confirm (by default for GridButtonColumn) you can use:

<telerik:GridButtonColumn CommandName="Delete" Text="Delete"
        ConfirmText="Are you sure you \n wish to delete this?" />

For RadWindow confirm you can use:

<telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmDialogType="RadWindow"
        ConfirmText="Are you sure you <br /> wish to delete this?" />

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
digitall
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or