RadConfirm Yes No buttons

6 posts, 1 answers
  1. Rod
    Rod avatar
    23 posts
    Member since:
    Aug 2007

    Posted 03 Jan 2009 Link to this post

    I'm using the latest build of Rad controls and the radconfirm dialog boxes.

    I was looking at the following example:
    http://demos.telerik.com/aspnet/Window/Examples/BrowserDialogBoxes/DefaultCS.aspx

    and noticed that the confirm window in this example presents a Yes/No option, while my window shows Ok/Cancel buttons.

    What do I have to do to provide the user with Yes/No buttons instead?

    Thanks,

    Rod



  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 Jan 2009 Link to this post

    Hi Rod,

    one suggestion to achieve this is, by changing the dialog templates of the RadWindow, so that it is possible to assign Localized text of "Yes" and "No" to the buttons in the RadConfirm. Check out the link below for more information about changing the dialog templates.
    Changing the Dialog Templates

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rod
    Rod avatar
    23 posts
    Member since:
    Aug 2007

    Posted 06 Jan 2009 Link to this post

    Princy,

    Is that the solution applied on the demo link I provided?
    If not, was the demo built on a different version of RadConfirm?

  5. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Jan 2009 Link to this post

    Hello Rod,

    The demo that you refer to ( http://demos.telerik.com/aspnet/Window/Examples/BrowserDialogBoxes/DefaultCS.aspx) is the demo for RadWindow for ASP.NET while Princy posted a link from a help article about RadWindow for ASP.NET AJAX.

    I am not sure what is the exact version of the control that you are using. In general, if you use RadWindow for ASP.NET (shown in your link), you should check this help article:
    http://www.telerik.com/help/aspnet/window/localization.html

    If you are using RadWindow for ASP.NET AJAX, I believe that the following KB article will be of help:
    http://www.telerik.com/support/kb/aspnet-ajax/window/radwindow-for-asp-net-ajax-localization.aspx



    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Rod
    Rod avatar
    23 posts
    Member since:
    Aug 2007

    Posted 07 Jan 2009 Link to this post

    Thank you Georgi,

    That worked perfectly.

    One small note:

    In the example provided, for those not familiar with Javascript, you need to remove the last comma inside the brackets:


    ..."Cancel" : "Cancel"

    in order to not get a syntax error.
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 08 Jan 2009 Link to this post

    Hi Rod,

    Indeed you are right - thank you very much for noticing it. I already fixed the article and updated your points as a small sign of our appreciation.


    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017