ConfirmText with a new line

2 posts, 0 answers
  1. digitall
    digitall avatar
    169 posts
    Member since:
    Jun 2006

    Posted 11 Nov 2008 Link to this post

    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?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Nov 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top