Jul 15, 2011, 1:19 PM
[CLOSED] DropDownField with the Treepanel in produces an error only in IE
This is the markup of my ascx control:
How to fix this?
Thanks.
<ext:Container runat="server">
<Items>
<tbm:VMSDropdownField runat="server" ID="ddl" TriggerIcon="Combo" Width="600" Mode="ValueText" LabelWidth="450"
LabelID="rate_structure" Editable="false" EnableKeyEvents="true" >
<Component>
<ext:TreePanel runat="server" Width="300" UseArrows="true" AutoScroll="true" ID="tree">
<Listeners>
<Click Handler="this.dropDownField.setValue(node.id, node.text, false);this.dropDownField.collapse();" />
</Listeners>
</ext:TreePanel>
</Component>
<Listeners>
<SpecialKey Fn="onSpecialKey" />
</Listeners>
</tbm:VMSDropdownField>
</Items>
</ext:Container>
Control loads with no error but, after I click on the dropdownfield got the following error: Invalid argument. WebResource.axd?d=lcGITs6mpRiGDlJ7kmWzr8l7n-ImtxcQPU4G27WV8yaB7SLYlsKn_3_XDx_H-lhX_6ziVzs64-yxo3sDrcqksUR72bTMLhkXGM9z1ZTORFyl27aPv4qQLvpaft5Jc-UKPI7Yy9GCJMcGvCTiaNOW1A2&t=634462199869893399, line 7 character 151830
When clicked on link got:"....dth=j;u.height=o;if(!Ext.isIE){m=k.childNodes;c=Math.max(0,(p-12))+"px";m[0].childNodes[1].style.width=c;m[1].childNodes[1].style.width=c;m[2].childNodes[1].style.width=c;m[1].style.height=Math.max(0,(e-12))....
In Firefox works just fine.How to fix this?
Thanks.
Last edited by Daniil; Jul 25, 2011 at 8:51 AM.
Reason: [CLOSED]