Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3338
Does the webimage button support the "class" element?
posted

That is my question..

Can I add class="stylecsshere"?

 

 <igtxt:WebImageButton ID="btnExternalShip" runat="server" Text="External Ship" ImageDirectory="/ig_res/Default/images/"
                        ImageTextSpacing="0" UseBrowserDefaults="False" class="styleButton">

Parents
  • 45049
    Verified Answer
    posted

    If you want to hook up WebImageButton to a CSS class, use the following properties:

    .Appearance.Style.CssClass
    .DisabledAppearance.Style.CssClass
    .FocusAppearance.Style.Class
    .HoverAppearance.Style.CssClass
    .PressedAppearance.Style.CssClass

    Each one of these properties applies to a different state of the control (normal, disabled, focused, hovered, and pressed, respectively).

Reply Children
No Data