[CLOSED] InfoPanel using QueueName not working

  1. #1

    [CLOSED] InfoPanel using QueueName not working

    Hi, I'm trying to show an InfoPanel using a specific QueueName, but I always get a javascript error saying: config.queue is undefined. I'm using ext.net 2.5.3. What is wrong?

    Thanks!

    <%@ Page Language="C#"  %>
      
    <!DOCTYPE html>
     
    <html>
        <head runat="server">
            <title>Ext.NET Example</title>
    
            <script runat="server">
                protected void Page_Load(object sender, EventArgs e)
                {
                    InfoPanel ip = new InfoPanel
                            {
                                QueueName = "topedgemeddig",
                                Title = "Spr?va",
                                Html = "Dokument bol ?spe?ne ulo?en?",
                                Icon = Icon.DatabaseSave,
                                UI = UI.Success
    
                            };
    
                    X.Msg.Info(ip).Show();
    
                }
            </script>
        </head>
    
        <body>
            <form runat="server">
                <ext:ResourceManager runat="server" />
    
    
            </form>
        </body>
    </html>
    Last edited by Daniil; Nov 26, 2014 at 7:07 PM. Reason: [CLOSED]
  2. #2
    Hi @exe,

    There is no a predefined "topedgemeddig" queue.

    You should define it like this:
    <ext:InfoPanelQueue runat="server" Name="topedgemeddig" />
  3. #3
    Example with InfoPanelQueue can be found here
    https://examples2.ext.net/#/MessageB...anel/Overview/
  4. #4
    Sorry, I screwed the queue name after pasting the code. It meant to be "topedge". I saw the example page before, but didn't catch the part, where the queue is explicitly defined.

    Now it is working.

    Thanks!

Similar Threads

  1. Replies: 0
    Last Post: Oct 07, 2014, 8:06 AM
  2. [CLOSED] Align InfoPanel to element on server side?
    By rthiney in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 03, 2014, 1:12 PM
  3. Replies: 0
    Last Post: Oct 30, 2012, 5:34 PM
  4. Replies: 3
    Last Post: Feb 21, 2012, 7:46 AM

Tags for this Thread

Posting Permissions