Mar 23, 2011, 4:06 AM
[CLOSED] DropDownField error when used in a PropertyGrid
I am trying to use a DropDownField control as a property grid editor so I can display a color selector (as similar to the example in a grid - http://forums.ext.net/showthread.php...idPanel-Column). When you click into the property area where the editor would be displayed an error is generated. The actual error is:
Error: 'this.component' is null or not an object
Should it be possible to use the DropDownField within the Property Grid?
Sample code
Error: 'this.component' is null or not an object
Should it be possible to use the DropDownField within the Property Grid?
Sample code
<ext:PropertyGridParameter Name="Background Color">
<Editor>
<ext:DropDownField ID="DDFieldEditor" runat="server" Editable="false">
<Component>
<ext:Panel ID="Panel2" runat="server" AutoWidth="true" AutoHeight="true">
<Items>
<ext:ColorPalette ID="ColorPalette1" runat="server">
<Listeners>
<Select Fn="selectColor"/>
</Listeners>
</ext:ColorPalette>
</Items>
</ext:Panel>
</Component>
</ext:DropDownField>
</Editor>
</ext:PropertyGridParameter>
Using ext.net version 1.0.4098.35288
Last edited by Daniil; Mar 25, 2011 at 9:51 AM.
Reason: [CLOSED]