Reputation: 57
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 points to style.width = bestWidth + 'px'
i tried searching everywhere but no common errors.
Upvotes: 0
Views: 833
Reputation: 11
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
Upvotes: 1
Reputation: 18430
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);
Upvotes: 0