RadConfirm customization

8 posts, 0 answers
  1. Satish J
    Satish J avatar
    52 posts
    Member since:
    Aug 2009

    Posted 04 Dec 2009 Link to this post

    Hi,

          Iam altering the RadConfirm's Control template. I would like to use the modified look of RadConfirm like the one below:

    MyRadWindow.Confirm();

    The above code should call the modified RadConfirm.

    I went through the link which requires to set the property 'Theme' everytime. I would like to achieve the Confirm dialog without setting that property.

    Pls suggest a way to achieve this.

    Thanks,
    Satish
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 06 Dec 2009 Link to this post

    Hi Satish,

    In order to do that you need to implement your own Confirm method and to configure the confirm content to look as you like. The attached project demonstrates how to implement your own Confirm method. The implementation is in the DialogHelper class. You could also add code to set theme or style to the RadWindow or to set your own Confirm control to the Content property of the RadWindow control.

    Hope this helps.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Satish J
    Satish J avatar
    52 posts
    Member since:
    Aug 2009

    Posted 08 Dec 2009 Link to this post

    Hi Miroslav Nedyalkov ,

                           Thanks very much for your code. I now try to set the theme via my inherited Confirm dialog. I have used Office silver theme, and replaced all Xaml code whose target type = "RadConfirm" with my Inherited Confirm type &  target type = "RadWindow" with "DialogHelper".

    The theme dosent seem to apply for "MyConfirm" dialog. Pls provide your assistance on this.

    Thanks,
    Satish

  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 09 Dec 2009 Link to this post

    Hi Satish,

    Could you please send us a sample project that reproduces the problem. This would help us investigate what the problem is.


    Kind regards,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Selvakumar Savarimuthu
    Selvakumar Savarimuthu avatar
    23 posts
    Member since:
    Sep 2012

    Posted 09 Dec 2009 Link to this post

    Hi Miroslav Nedyalkov,

                                       The sample project and the issue faced are available in the support ticket http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=265261.

    Thanks,
    Satish
  7. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 09 Dec 2009 Link to this post

    Hi All,

     I answered to the support thread.


    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. bharath
    bharath avatar
    2 posts
    Member since:
    Dec 2010

    Posted 16 Dec 2010 Link to this post

    HI ALL,

    How to change the skin(Color) of a rad confirm box........waiting for a Solution ..............
  9. Pana
    Admin
    Pana avatar
    748 posts

    Posted 22 Dec 2010 Link to this post

    Hello Satish J,

    Here is a solution: Create a RadWindow Style in app.xaml that sets background, use the RadWindow.Alert's dialog parameters to set the Style on the alert's containing window.

    For more information check the attached project.

    Greetings,
    Pana
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner