Can the HTMLPlaceHolder content be made transparent?

5 posts, 1 answers
  1. William
    William avatar
    4 posts
    Member since:
    Sep 2013

    Posted 05 Sep 2013 Link to this post


    Hello,

    Can the content of an HTMLPlaceHolder content be made transparent? (IE. I am using allowtransparency="true" and a z-index for an HTML IFrame.)

    Thank you.

    williamj
  2. Answer
    Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 10 Sep 2013 Link to this post

    Hi William,

    When working with RadHtmlPlaceholder control you need to keep in mind that internally the control uses IFrame. In order to achieve your requirement you need to traverse the DOM visual tree to get the built-in control and set its allowTransparency property to true and its backgroundColor property to transparent.

    I hope this will help you.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. William
    William avatar
    4 posts
    Member since:
    Sep 2013

    Posted 10 Sep 2013 Link to this post


    Pavel:

    How about using a z-index?  Is this possible?

    Regards,
    William Johnston
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 13 Sep 2013 Link to this post

    Hi William,

    If you gain access to the IFrame you will be able to set the x-index, also.

    However, I am not sure what your main goal is and what you want to achieve by changing the z-index. Would you mind sharing your goal with us?

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. William
    William avatar
    4 posts
    Member since:
    Sep 2013

    Posted 13 Sep 2013 Link to this post


    Pavel:

    This case was solved by Ms. Tina Stancheva and was closed.

    I will close the case again.

    Thanks,
    William Johnston
     
Back to Top
DevCraft banner