Is there any way to assign a CSS-property to the PromptText property of the CascadingDropDown?
I have attempted modifying the Toolkit (CascadingDropDownBehavior.js):
_setOptions :function(list, inInit, gettingList)
// code omitted
if (headerText) {
var optionElement =new Option(headerText,"");
optionElement.className = "PromptText";
e.options[e.options.length] = optionElement;
}
But this didn't work Any ideas?
Thanks in advance.
Well, I found a workaround... Forgot to post here. For those interested, I wrote about this in my blog:
http://haltenberg.blogspot.com/2007/02/cascadingdropdown-passing-additional.html
No comments:
Post a Comment