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
adding Htmlattributes to igCombo


I am trying to add a style to igCombo using htmlattributes property as shown below:

                            .HtmlAttributes(new System.Collections.Generic.Dictionary<string,object>().Add("class" , (object)"span-text"))


The code is throwing error of invalid arguments. Whats wrong here ??