Jan 16, 2015, 5:10 AM
[CLOSED] [#667] TagField in Toolbar items throw "Unable to get property 'dataSource' of undefined or null reference"
Hi,
I would like to place TagField on one of my tool bars. When I do this following error is thrown:
Unable to get property 'dataSource' of undefined or null reference
I would like to place TagField on one of my tool bars. When I do this following error is thrown:
Unable to get property 'dataSource' of undefined or null reference
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<body>
<form runat="server">
<ext:ResourceManager runat="server" ScripMode="Debug"/>
<ext:Toolbar runat="server">
<Items>
<ext:Button runat="server" Text="This button is fine" />
<ext:TagField runat="server">
<Tags>
<ext:Tag Value="1" />
</Tags>
<Items>
<ext:Tag Value="1" Text="George" Icon="User" />
<ext:Tag Value="2" Text="Bob" Icon="UserAdd" />
<ext:Tag Value="3" Text="John" Icon="UserAlert" />
<ext:Tag Value="4" Text="Bill" Icon="UserB" />
<ext:Tag Value="5" Text="Ronald" Icon="UserDelete" />
</Items>
</ext:TagField>
</Items>
</ext:Toolbar>
</form>
</body>
</html>
Last edited by Daniil; Jan 30, 2015 at 9:21 AM.
Reason: [CLOSED] [#667]