I have an asp net application where I use dropdown list. It is not a standard one. In order to display this I use mootools, so I use scrollbar and dropdownList Container.
Now I need to able to change style (display value from block into none) of my dropdown list within the code behind.
When I do it in a normal way dList.Style.Add("display", "none") nothing has changed.
How might I do it?
I don’t know what “normal way” you are referring to, but you should take a look at MooTools docs. The method you’re looking for is, quite unsurprisingly, in the
Element.Stylepart.