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
70
Web Explorer Bar Group CSS
posted

I have been trying to dynamically modify the CssClass property of a web explorer bar group using code similar to the following. We would like to have a different style for the first few group items; all other groups use the default style. The problem is the code does not seem to have any effect on the output. I checked the HTML output. It still uses the default CssClass defined in the styleSet. Is there any extra code i have to write to modify the style behavior?

 

<ig:WebExplorerBar ID="WebExplorerBar1" runat="server" Width="250px"
            >         
        </ig:WebExplorerBar>

protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack)
                this.WebExplorerBar1.Groups[0].CssClass = "otherStyleClass";
        }

Parents
No Data
Reply
  • 15979
    posted

    Hello thehitman,

    Please let me know if you need further assistance regarding your question.

    Thank you.

Children