Transparency Problem with RadMessageBox

Thread is closed for posting
2 posts, 0 answers
  1. Shawn
    Shawn avatar
    30 posts
    Member since:
    Mar 2011

    Posted 25 May 2012 Link to this post

    I have a RadMessageBox that when it fires the closedHandler it navigates back to a page.  But that page's background is now transparent. Is the message box code manipulating containers or anything that it could be grabbing the wrong container and setting it as transparent? Here's an example

    RadMessageBox.Show("Are you sure",
                "Are you sure you wish to delete this order?",
                vibrate: false,
                closedHandler: a =>
                        if (a.Result == DialogResult.OK)
                            // Do Some Work Then...

    Anything look odd here (e.g. should the closedHandler run on the UI thread automatically?)

    UPDATE: Confirmed that there is code running after the closed handler that is looking for and changing my transparency to about 80% from 100%. Replace code with MessageBox and it doesn't happen. 

    ANOTHER UPDATE: I've confirmed the bug with a reproducable case. It seems that if I have a container with a background of "{StaticResource PhoneBackgroundBrush}" it makes that 80%ish in my case (mixed in with navigation it seems). My guess is that you're looking for the brush as an indication of an ancestor and finding my overlay. If I make the background "Black" it works but that's not an acceptable fix.   I can share a reproducible case (can't attach it here).  Feel free to contact me directly.
  2. Victor
    Victor avatar
    1358 posts

    Posted 28 May 2012 Link to this post

    Hello Shawn,

    Thanks for reporting this.
    You are absolutely correct. I am changing the opacity of the system brush however this is not appropriate since Brush is not a value type. This is a bug and the fix is already in our code base. It will be available in the Q2 2012 release (June 6th) or an internal build if you need it sooner.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top