I am trying to have a custom dropdown on the editor but for some reason it is working but its also making my nonjustify tool active upppon using it here is my code
01. <telerik:RadEditor ID="txtMessage" ToolsFile="~/BackDoor/ToolsFile.xml" runat="server" Skin="Bootstrap" OnClientCommandExecuting="OnClientCommandExecuting" RenderMode="Auto">02. <Tools>03. <telerik:EditorToolGroup> 04. <telerik:EditorSplitButton Name="TagList" Text="Sets Dynamic Tags In Emails" ImageUrl="~/assets/img/tags.png" ImageUrlLarge="~/assets/img/tags.png" ItemsPerRow="5" PopupWidth="170px" PopupHeight="117px" RenderMode="Auto">05. <telerik:EditorDropDownItem Name ="{Player_ID}" value="{player_Id}"/>06. <telerik:EditorDropDownItem Name ="{Player_name}" value="{player_name}"/> 07. <telerik:EditorDropDownItem Name ="{Player_IpAddress}" value="{player_IpAddress}"/> 08. <telerik:EditorDropDownItem Name ="{Player_Points}" value="{player_points}"/> 09. <telerik:EditorDropDownItem Name ="{Player_Points}" value="{player_prize}"/> 10. </telerik:EditorSplitButton>11. </telerik:EditorToolGroup>12.</Tools> 13. 14. 15. </telerik:RadEditor>And here is what i use in the client side event
01. <script type="text/javascript">02. function OnClientCommandExecuting(editor, args) {03. var name = args.get_name(); //The command name04. var val = args.get_value(); //The tool that initiated the command05. if (name == "TagList") {06. editor.pasteHtml("" + val + "");07. //Cancel the further execution of the command as such a command does not exist in the editor command list08. args.set_cancel(true);09. }10. }11.</script>12. 13. 14. 15.<style type="text/css">16. span .reTagList17. {18. background-image:url(/assets/img/label49.png); 19. background-repeat: no-repeat; 20. } 21. 22.</style>
Also I cannot get my icon to appear any ideas guys as what going on im using 30 day demo just
