开发者

combo box extender ajax tool kit

I have a filter on the page and i am using 5 combo boxes. The data in the combo box is getting filled properly. However when i select the drop down of combo box and select any item from the list. I get this error..

"Invalid Argument"

and the debugger point开发者_运维技巧s to style.width = bestWidth + 'px'

i tried searching everywhere but no common errors.


It's a known issue, reported here: http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=22848

and you can read more about it here: http://lionsden.co.il/codeden/?p=285


As i know Style.Width takes an Unit as an value so i am not sure what bestwidth +'px' is doing there but if you want it to be in pixel then have it like this:

style.width = new Unit(Convert.ToDouble(bestwidth), UnitType.Pixel);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜