[CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control

  1. #1

    [CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control

    Hi:

    I defined the "MaskMsg" for "AutoLoad" in Panel but I want to change the font size or bold. I tried to put the css class name on the "MaskCls" property but it looks doesn't work.

    Could you please show me how to work with "MashCls"?

    Thank you
    Last edited by Daniil; Jul 25, 2012 at 1:07 AM. Reason: [CLOSED]
  2. #2
    Hi,

    It would simplest to just inspect the mask HTML elements to determine what CSS rule you should apply.

    The MaskCls class is added for the <div> element which contains the mask message.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    It would simplest to just inspect the mask HTML elements to determine what CSS rule you should apply.

    The MaskCls class is added for the <div> element which contains the mask message.
    if I want to bold the message for mask, I create a new css class
    .mask-bold-text {
        font-weight: bold !important;
    }
    and put it in "MaskCls" in the "AutoLoad" which is like MaskCls="mask-bold-text"

    but it doesn't work.

    Did I do something wrong?
    Last edited by Daniil; Jul 18, 2012 at 2:32 PM. Reason: Please use [CODE] tags
  4. #4
    Can you see this rule is actually applied inspecting the mask HTML elements?
  5. #5
    Quote Originally Posted by Daniil View Post
    Can you see this rule is actually applied inspecting the mask HTML elements?
    No, It put the css class on the "<div> upper level of the text "<div>

    I have to overwrite the class "ext-el-mask-msg div" to make it work although it's not a perfect one.
  6. #6
    You should just correct your CSS rule.

    The following works.
    MaskCls="my-mask"
    .my-mask div {
        font-weight: bold;
    }

Similar Threads

  1. Replies: 1
    Last Post: Jun 26, 2012, 11:29 AM
  2. [CLOSED] Hidden="true" behaves as Visible="false"
    By marco.morreale in forum 2.x Premium Help
    Replies: 5
    Last Post: May 28, 2012, 3:17 PM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  5. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM

Posting Permissions