[CLOSED] Token is not unique

  1. #1

    [CLOSED] Token is not unique

    What causes TokenNotUniqueException? This is coming from the new Transformer.NET class. And, what does the following error message tell me?

    Token is not unique
    -------------------
    ID = ctl00_MainContent_gpnlOrphanedArtifacts_ClientInit
    TagName = anchor
    Match = <#:anchor id="ctl00_MainContent_gpnlOrphanedArtifacts_ClientInit" />
    I have scoured the grid panel and found no ID's that are duplicated in the program.

    Thanks.
    -Steve
    Last edited by Daniil; Dec 07, 2012 at 6:41 AM. Reason: [CLOSED]
  2. #2
    Do you use gpnlOrphanedArtifacts twice somewhere?
    Can you post test sample reproduces the issue?
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    I had the same exception this morning, the reason simply was that I've accidentialy added the same button twice to a toolbar:

    
            Dim tbButton1 As New Ext.Net.Button()
            tbButton1 .ID = "B1"
            tbButton1 .Text = "Button 1"
            tbButton1 .Handler = "doSomething();"
    
            Dim tbButton2 As New Ext.Net.Button()
            tbButton2 .ID = "B2"
            tbButton2 .Text = "Button 2"
           tbButton2 .Handler = "doSomething();"
    
    
            Dim myToolbar As New Ext.Net.Toolbar()
            myToolbar.ID = "MpToolBar"
            myToolbar.Add(tbButton1)
            myToolbar.Add(tbButton2)
            myToolbar.Add(tbButton1)
    
            return myToolbar

Similar Threads

  1. BADRESPONSE: Unexpected token { on calendar control
    By Felixkirathe in forum 2.x Help
    Replies: 1
    Last Post: Apr 17, 2012, 4:07 PM
  2. Replies: 3
    Last Post: Apr 16, 2012, 1:56 PM
  3. [CLOSED] Load failed: Unexpected token <
    By rthiney in forum 1.x Premium Help
    Replies: 1
    Last Post: Dec 02, 2010, 5:58 PM
  4. Replies: 1
    Last Post: Jan 27, 2010, 12:19 PM
  5. [ADDED] [V0.6] Unique JavaScript Url's
    By geoffrey.mcgill in forum Feature Requests
    Replies: 1
    Last Post: Sep 18, 2008, 5:33 PM

Posting Permissions